کلاس نهایی عمومی JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef کلاس های تو در تو
| کلاس | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
ثابت ها
| بین المللی | NAME_FIELD_NUMBER | |
| بین المللی | TASKS_FIELD_NUMBER |
روش های عمومی
| بولی | containTasks (کلید int) Mapping from task ID to "hostname:port" string. |
| بولی | برابر است (object obj) |
| استاتیک JobDef | |
| JobDef | |
| نهایی static com.google.protobuf.Descriptors.Descriptor | |
| رشته | 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. |
| com.google.protobuf.UnknownFieldSet نهایی | |
| بین المللی | هش کد () |
| بولی نهایی | |
| استاتیک JobDef.Builder | newBuilder (نمونه اولیه JobDef ) |
| استاتیک JobDef.Builder | newBuilder () |
| JobDef.Builder | |
| استاتیک JobDef | parseDelimitedFrom (ورودی جریان ورودی) |
| استاتیک JobDef | parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک JobDef | parseFrom (داده های ByteBuffer) |
| استاتیک JobDef | parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک JobDef | parseFrom (دادههای ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک JobDef | parseFrom (ورودی com.google.protobuf.CodedInputStream) |
| استاتیک JobDef | parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک JobDef | parseFrom (داده های com.google.protobuf.ByteString) |
| استاتیک JobDef | parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک JobDef | parseFrom (دادههای com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ایستا | تجزیه کننده () |
| JobDef.Builder | toBuilder () |
| باطل | writeTo (خروجی com.google.protobuf.CodedOutputStream) |
روش های ارثی
ثابت ها
نهایی استاتیک عمومی NAME_FIELD_NUMBER
ارزش ثابت: 1
نهایی استاتیک عمومی TASKS_FIELD_NUMBER
ارزش ثابت: 2
روش های عمومی
بولین عمومی حاوی وظایف (کلید 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; بولین عمومی برابر است (Object Obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
رشته عمومی getName ()
The name of this job.
string name = 1; عمومی com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; عمومی getParserForType ()
عمومی int getSerializedSize ()
عمومی 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; عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()
هش کد عمومی ()
بولین نهایی عمومی isInitialized ()
عمومی استاتیک JobDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی استاتیک JobDef parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی استاتیک JobDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی استاتیک JobDef parseFrom (ورودی com.google.protobuf.CodedInputStream)
پرتاب می کند
| IOException |
|---|
عمومی استاتیک JobDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی استاتیک JobDef parseFrom (داده های com.google.protobuf.ByteString)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی استاتیک JobDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی استاتیک JobDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
استاتیک عمومی تجزیه کننده ()
public void writeTo (خروجی com.google.protobuf.CodedOutputStream)
پرتاب می کند
| IOException |
|---|