JobDef kelas akhir publik
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef Kelas Bersarang
| kelas | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
Konstanta
| ke dalam | NAME_FIELD_NUMBER | |
| ke dalam | TASKS_FIELD_NUMBER |
Metode Publik
| boolean | berisiTugas (kunci int) Mapping from task ID to "hostname:port" string. |
| boolean | sama dengan (Objek objek) |
| JobDef statis | |
| Def Pekerjaan | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| Rangkaian | dapatkan Nama () The name of this job. |
| com.google.protobuf.ByteString | dapatkanNamaBytes () The name of this job. |
| ke dalam | |
| Peta<Bilangan Bulat, String> | dapatkan Tugas () Gunakan getTasksMap() sebagai gantinya. |
| ke dalam | dapatkanTasksCount () Mapping from task ID to "hostname:port" string. |
| Peta<Bilangan Bulat, String> | dapatkanTasksMap () Mapping from task ID to "hostname:port" string. |
| Rangkaian | getTasksOrDefault (kunci int, String defaultValue) Mapping from task ID to "hostname:port" string. |
| Rangkaian | getTasksOrThrow (kunci int) Mapping from task ID to "hostname:port" string. |
| final com.google.protobuf.UnknownFieldSet | |
| ke dalam | Kode hash () |
| boolean terakhir | |
| JobDef.Builder statis | newBuilder (prototipe JobDef ) |
| JobDef.Builder statis | |
| JobDef.Builder | |
| JobDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
| JobDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| JobDef statis | parseFrom (data ByteBuffer) |
| JobDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| JobDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| JobDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| JobDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| JobDef statis | parseFrom (com.google.protobuf.ByteString data) |
| JobDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| JobDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| JobDef.Builder | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik NAME_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik TASKS_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik berisi Tugas (kunci 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; boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
GetName String publik ()
The name of this job.
string name = 1; publik com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; publik dapatkanParserForType ()
publik int getSerializedSize ()
int publik 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; peta publik<Bilangan Bulat, 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; String publik getTasksOrDefault (kunci 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; String publik getTasksOrThrow (kunci 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 ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom JobDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom JobDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom JobDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom JobDef statis publik (com.google.protobuf.CodedInputStream input)
Melempar
| Pengecualian IO |
|---|
parseFrom JobDef statis publik (data byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom JobDef statis publik (com.google.protobuf.ByteString data)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom JobDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom JobDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
| Pengecualian IO |
|---|