כיתת גמר ציבורית JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef מסוג Protobuf.JobDef כיתות מקוננות
| מַחלָקָה | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
קבועים
| int | NAME_FIELD_NUMBER | |
| int | TASKS_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | containsTasks (מפתח int) Mapping from task ID to "hostname:port" string. |
| בוליאני | שווה (Object obj) |
| סטטי JobDef | |
| JobDef | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| חוּט | getName () The name of this job. |
| com.google.protobuf.ByteString | getNameBytes () The name of this job. |
| int | |
| מפה<Integer, String> | getTasks () השתמש ב- getTasksMap() במקום זאת. |
| int | getTasksCount () Mapping from task ID to "hostname:port" string. |
| מפה<Integer, String> | getTasksMap () 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. |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashcode () |
| בוליאנית סופית | |
| סטטי JobDef.Builder | newBuilder (אב טיפוס של JobDef ) |
| סטטי JobDef.Builder | newBuilder () |
| JobDef.Builder | |
| סטטי JobDef | parseDelimitedFrom (קלט InputStream) |
| סטטי 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 (נתוני byte[], 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
שיטות ציבוריות
Public Boolean 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)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית getName ()
The name of this job.
string name = 1; public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public 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; public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
Public static JobDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static JobDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static JobDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
Public static JobDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
Public static JobDef parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
Public static JobDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static JobDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|