الفئة النهائية العامة 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 |
الأساليب العامة
| منطقية | يحتوي على المهام (مفتاح int) Mapping from task ID to "hostname:port" string. |
| منطقية | يساوي (كائن كائن) |
| تعريف الوظيفة الثابتة | |
| JobDef | |
| النهائي الثابت com.google.protobuf.Descriptors.Descriptor | |
| خيط | الحصول على الاسم () The name of this job. |
| com.google.protobuf.ByteString | الحصول على اسم بايت () The name of this job. |
| كثافة العمليات | |
| خريطة <عدد صحيح، سلسلة> | الحصول على المهام () استخدم getTasksMap() بدلاً من ذلك. |
| كثافة العمليات | الحصول على المهام () Mapping from task ID to "hostname:port" string. |
| خريطة <عدد صحيح، سلسلة> | خريطة المهام () Mapping from task ID to "hostname:port" string. |
| خيط | getTasksOrDefault (مفتاح int، String 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 | |
| تعريف الوظيفة الثابتة | parseDelimitedFrom (إدخال InputStream) |
| تعريف الوظيفة الثابتة | parseDelimitedFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| تعريف الوظيفة الثابتة | parseFrom (بيانات ByteBuffer) |
| تعريف الوظيفة الثابتة | parseFrom (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| تعريف الوظيفة الثابتة | parseFrom (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| تعريف الوظيفة الثابتة | parseFrom (com.google.protobuf.CodedInputStream الإدخال) |
| تعريف الوظيفة الثابتة | parseFrom (بيانات البايت[]، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| تعريف الوظيفة الثابتة | parseFrom (بيانات com.google.protobuf.ByteString) |
| تعريف الوظيفة الثابتة | parseFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| تعريف الوظيفة الثابتة | parseFrom (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| ثابت | محلل () |
| JobDef.Builder | إلى البناء () |
| فارغ | writeTo (com.google.protobuf.CodedOutputStream الإخراج) |
الطرق الموروثة
الثوابت
int النهائي الثابت العام 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)
النهائي العام الثابت 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; عام الحصول على بارسيرفورتيب ()
int public 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، String 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 ()
كود التجزئة الدولي العام ()
تمت تهيئة القيمة المنطقية النهائية العامة ()
JobDef parseDelimitedFrom الثابت العام (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| IOEException |
|---|
تحليل JobDef العام الثابت (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| IOEException |
|---|
JobDef parseFrom الثابت العام (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| InvalidProtocolBufferException |
|---|
تحليل JobDef العام الثابت (بيانات البايت []، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| InvalidProtocolBufferException |
|---|
تحليل JobDef العام الثابت (بيانات com.google.protobuf.ByteString)
رميات
| InvalidProtocolBufferException |
|---|
تحليل JobDef العام الثابت (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| IOEException |
|---|
JobDef parseFrom الثابت العام (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
| InvalidProtocolBufferException |
|---|
ساكنة عامة محلل ()
الكتابة إلى الفراغ العام (إخراج com.google.protobuf.CodedOutputStream)
رميات
| IOEException |
|---|