عمومی استاتیک کلاس نهایی JobDef.Builder
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef
روش های عمومی
JobDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
JobDef | ساختن () |
JobDef | ساخت جزئی () |
JobDef.Builder | روشن () |
JobDef.Builder | clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor) |
JobDef.Builder | clearName () The name of this job. |
JobDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobDef.Builder | clearTasks () |
JobDef.Builder | کلون () |
بولی | containTasks (کلید int) Mapping from task ID to "hostname:port" string. |
JobDef | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
نقشه<Integer, String> | getMutableTasks () به جای آن از ابزارهای جهش جایگزین استفاده کنید. |
رشته | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
نقشه<Integer, String> | getTasks () به جای آن از getTasksMap() استفاده کنید. |
بین المللی | getTasksCount () Mapping from task ID to "hostname:port" string. |
نقشه<Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
رشته | getTasksOrDefault (کلید int، مقدار پیشفرض رشته) Mapping from task ID to "hostname:port" string. |
رشته | getTasksOrThrow (کلید int) Mapping from task ID to "hostname:port" string. |
بولی نهایی | |
JobDef.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef.Builder | mergeFrom (com.google.protobuf.Message other) |
JobDef.Builder نهایی | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
JobDef.Builder | putAllTasks (مقادیر Map<Integer, String>) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | putTasks (کلید int، مقدار رشته) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | removeTasks (کلید int) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
JobDef.Builder | setName (مقدار رشته) The name of this job. |
JobDef.Builder | setNameBytes (مقدار com.google.protobuf.ByteString) The name of this job. |
JobDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
JobDef.Builder نهایی | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی JobDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
بولین عمومی حاوی وظایف (کلید int)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
نقشه عمومی<Integer, String> getMutableTasks ()
به جای آن از ابزارهای جهش جایگزین استفاده کنید.
رشته عمومی getName ()
The name of this job.
string name = 1;
عمومی com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
عمومی int getTasksCount ()
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
نقشه عمومی<Integer, String> getTasksMap ()
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
رشته عمومی getTasksOrDefault (کلید int، مقدار پیش فرض رشته)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
رشته عمومی getTasksOrThrow (کلید int)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
بولین نهایی عمومی isInitialized ()
عمومی JobDef.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی JobDef.Builder putAllTasks (مقادیر Map<Integer, String>)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
putTasks عمومی JobDef.Builder (کلید int، مقدار رشته)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
عمومی JobDef.Builder removeTasks (کلید int)
Mapping from task ID to "hostname:port" string. If the `name` field contains "worker", and the `tasks` map contains a mapping from 7 to "example.org:2222", then the device prefix "/job:worker/task:7" will be assigned to "example.org:2222".
map<int32, string> tasks = 2;
عمومی JobDef.Builder setNameBytes (مقدار com.google.protobuf.ByteString)
The name of this job.
string name = 1;