JobDef

JobDef kelas akhir publik

 Defines a single job in a TensorFlow cluster.
 
Protobuf tipe 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
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
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)

JobDef statis publik getDefaultInstance ()

JobDef publik getDefaultInstanceForType ()

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 ()

peta publik<Bilangan Bulat, String> getTasks ()

Gunakan getTasksMap() sebagai gantinya.

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 ()

JobDef.Builder newBuilder statis publik (prototipe JobDef )

JobDef.Builder newBuilder statis publik ()

publik JobDef.Builder newBuilderForType ()

parseDelimitedFrom JobDef statis publik (input InputStream)

Melempar
Pengecualian IO

parseDelimitedFrom JobDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom JobDef statis publik (data ByteBuffer)

Melempar
InvalidProtocolBufferException

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
InvalidProtocolBufferException

parseFrom JobDef statis publik (com.google.protobuf.CodedInputStream input)

Melempar
Pengecualian IO

parseFrom JobDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
InvalidProtocolBufferException

parseFrom JobDef statis publik (data com.google.protobuf.ByteString)

Melempar
InvalidProtocolBufferException

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
InvalidProtocolBufferException

statis publik pengurai ()

publik JobDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream keluaran)

Melempar
Pengecualian IO