공개 정적 최종 클래스 JobDef.Builder
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef
공개 방법
JobDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
JobDef | 짓다 () |
JobDef | 빌드부분 () |
JobDef.Builder | 분명한 () |
JobDef.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
JobDef.Builder | 클리어이름 () The name of this job. |
JobDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobDef.Builder | 클리어태스크 () |
JobDef.Builder | 클론 () |
불리언 | containTasks (int 키) Mapping from task ID to "hostname:port" string. |
JobDef | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
맵<정수, 문자열> | getMutableTasks () 대신 대체 돌연변이 접근자를 사용하세요. |
끈 | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
맵<정수, 문자열> | getTasks () 대신 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 (정수 키) Mapping from task ID to "hostname:port" string. |
최종 부울 | 초기화됨 () |
JobDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
JobDef.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
최종 JobDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
JobDef.Builder | putAllTasks (Map<Integer, String> 값) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | putTasks (int 키, 문자열 값) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | RemoveTasks (int 키) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
JobDef.Builder | setName (문자열 값) The name of this job. |
JobDef.Builder | setNameBytes (com.google.protobuf.ByteString 값) The name of this job. |
JobDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
최종 JobDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
공개 부울 containTasks (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.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 Map<Integer, String> getMutableTasks ()
대신 대체 돌연변이 접근자를 사용하세요.
공개 문자열 getName ()
The name of this job.
string name = 1;
공개 com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
공개 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;
공용 Map<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 키, 문자열 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;
공개 최종 부울 isInitialized ()
공개 JobDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공용 JobDef.Builder putAllTasks (Map<Integer, String> 값)
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;
공개 JobDef.Builder putTasks (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;
공개 JobDef.Builder RemoveTasks (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;
공개 JobDef.Builder setNameBytes (com.google.protobuf.ByteString 값)
The name of this job.
string name = 1;