JobDef

classe finale pubblica JobDef

 Defines a single job in a TensorFlow cluster.
 
Tipo di protocollo tensorflow.JobDef

Classi nidificate

classe JobDef.Builder
 Defines a single job in a TensorFlow cluster. 

Costanti

int NOME_CAMPO_NUMERO
int TASKS_FIELD_NUMBER

Metodi pubblici

booleano
contieneTasks (tasto int)
 Mapping from task ID to "hostname:port" string.
booleano
è uguale a (Oggetto oggetto)
JobDef statico
LavoroDef
com.google.protobuf.Descriptors.Descriptor statico finale
Corda
getNome ()
 The name of this job.
com.google.protobuf.ByteString
getNomeBytes ()
 The name of this job.
int
Mappa<Intero, Stringa>
getTasks ()
Utilizzare invece getTasksMap() .
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mappa<Intero, Stringa>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrDefault (chiave int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrThrow (tasto int)
 Mapping from task ID to "hostname:port" string.
finale com.google.protobuf.UnknownFieldSet
int
booleano finale
JobDef.Builder statico
newBuilder (prototipo JobDef )
JobDef.Builder statico
JobDef.Builder
JobDef statico
parseDelimitedFrom (input InputStream)
JobDef statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statico
parseFrom (dati ByteBuffer)
JobDef statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
JobDef statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
JobDef statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statico
parseFrom (dati com.google.protobuf.ByteString)
JobDef statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
JobDef.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int NAME_FIELD_NUMBER

Valore costante: 1

public static final int TASKS_FIELD_NUMBER

Valore costante: 2

Metodi pubblici

booleano pubblico contieneTasks (chiave 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;

booleano pubblico è uguale a (Oggetto obj)

pubblico statico JobDef getDefaultInstance ()

public JobDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

stringa pubblica getName ()

 The name of this job.
 
string name = 1;

pubblico com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

pubblico getParserForType ()

public int getSerializedSize ()

mappa pubblica<intero, stringa> getTasks ()

Utilizzare invece getTasksMap() .

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;

mappa pubblica<intero, stringa> 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;

public String getTasksOrDefault (chiave 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;

public String getTasksOrThrow (chiave 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;

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final booleano isInitialized ()

public static JobDef.Builder newBuilder (prototipo JobDef )

public static JobDef.Builder newBuilder ()

public JobDef.Builder newBuilderForType ()

public static JobDef parseDelimitedFrom (input InputStream)

Lancia
IOException

public static JobDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom JobDef statico pubblico (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom JobDef statico pubblico (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom JobDef statico pubblico (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom JobDef statico pubblico (input com.google.protobuf.CodedInputStream)

Lancia
IOException

public static JobDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom JobDef statico pubblico (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

parseFrom JobDef statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom JobDef statico pubblico (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

public JobDef.Builder toBuilder ()

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

Lancia
IOException