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 |
วิธีการสาธารณะ
| บูลีน | hasTasks (คีย์ int) Mapping from task ID to "hostname:port" string. |
| บูลีน | เท่ากับ (วัตถุ obj) |
| JobDef แบบคงที่ | |
| จ็อบดีฟ | |
| com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
| สตริง | รับชื่อ () The name of this job. |
| com.google.protobuf.ByteString | getNameBytes () The name of this job. |
| ภายใน | |
| แมป <จำนวนเต็ม สตริง> | รับงาน () ใช้ getTasksMap() แทน |
| ภายใน | getTasksCount () Mapping from task ID to "hostname:port" string. |
| แมป <จำนวนเต็ม สตริง> | getTasksMap () Mapping from task ID to "hostname:port" string. |
| สตริง | getTasksOrDefault (คีย์ int, สตริง defaultValue) 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 แบบคงที่ | ตัวสร้างใหม่ () |
| JobDef.Builder | |
| JobDef แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| JobDef แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม 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
สาธารณะคงสุดท้าย int TASKS_FIELD_NUMBER
ค่าคงที่: 2
วิธีการสาธารณะ
บูลีนสาธารณะ containsTasks (คีย์ 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)
สาธารณะคงที่สุดท้าย 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; แผนที่สาธารณะ <จำนวนเต็ม สตริง> 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, สตริง defaultValue)
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 ()
สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
JobDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
JobDef แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ JobDef parseFrom แบบคงที่ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ JobDef parseFrom แบบคงที่ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ JobDef parseFrom คงที่ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
JobDef แบบคงที่สาธารณะ parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
JobDef แบบคงที่สาธารณะ parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|