JobDef

JobDef คลาสสุดท้ายสาธารณะ

 Defines a single job in a TensorFlow cluster.
 
Protobuf ประเภท 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
เป็นโมฆะ
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)

JobDef สาธารณะคงที่ getDefaultInstance ()

JobDef สาธารณะ getDefaultInstanceForType ()

สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()

สตริงสาธารณะ getName ()

string name = 1;

 The name of this job.
 
= 1;

สาธารณะ com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 The name of this job.
 
= 1;

สาธารณะ getParserForType ()

สาธารณะ int getSerializedSize ()

แผนที่สาธารณะ <จำนวนเต็ม สตริง> getTasks ()

ใช้ getTasksMap() แทน

สาธารณะ 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.Builder สาธารณะคงที่ newBuilder (ต้นแบบ JobDef )

JobDef.Builder สาธารณะคงที่ newBuilder ()

JobDef.Builder สาธารณะ newBuilderForType ()

JobDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream)

ขว้าง
IOข้อยกเว้น

JobDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

JobDef แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

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.CodedInputStream อินพุต)

ขว้าง
IOข้อยกเว้น

สาธารณะ 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 ไม่ถูกต้อง

สาธารณะคงที่ ตัวแยกวิเคราะห์ ()

JobDef.Builder สาธารณะ ถึง Builder ()

โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

ขว้าง
IOข้อยกเว้น