JobDef

clase final pública JobDef

 Defines a single job in a TensorFlow cluster.
 
Protobuf tipo tensorflow.JobDef

Clases anidadas

clase JobDef.Constructor
 Defines a single job in a TensorFlow cluster. 

Constantes

En t NOMBRE_CAMPO_NÚMERO
En t TASKS_FIELD_NUMBER

Métodos públicos

booleano
contiene tareas (tecla int)
 Mapping from task ID to "hostname:port" string.
booleano
es igual (Objeto obj)
JobDef estático
TrabajoDef
com.google.protobuf.Descriptors.Descriptor estático final
Cadena
obtenerNombre ()
 The name of this job.
com.google.protobuf.ByteString
getNombreBytes ()
 The name of this job.
En t
Mapa<Entero, Cadena>
obtener tareas ()
Utilice getTasksMap() en su lugar.
En t
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mapa<Entero, Cadena>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Cadena
getTasksOrDefault (clave int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Cadena
getTasksOrThrow (tecla int)
 Mapping from task ID to "hostname:port" string.
com.google.protobuf.UnknownFieldSet final
En t
booleano final
JobDef.Builder estático
newBuilder (prototipo JobDef )
JobDef.Builder estático
JobDef.Constructor
JobDef estático
parseDelimitedFrom (entrada de InputStream)
JobDef estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos de ByteBuffer)
JobDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
JobDef estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
JobDef estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos com.google.protobuf.ByteString)
JobDef estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
JobDef.Constructor
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

público estático final int NAME_FIELD_NUMBER

Valor constante: 1

público estático final int TASKS_FIELD_NUMBER

Valor constante: 2

Métodos públicos

booleano público contiene tareas (clave 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;

público booleano es igual (Objeto obj)

JobDef estático público getDefaultInstance ()

public JobDef getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

cadena pública getName ()

 The name of this job.
 
string name = 1;

público com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

público getParserForType ()

público int getSerializedSize ()

Mapa público<Entero, Cadena> getTasks ()

Utilice getTasksMap() en su lugar.

público 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;

Mapa público<Entero, Cadena> 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;

cadena pública getTasksOrDefault (clave int, cadena 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;

cadena pública getTasksOrThrow (clave 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;

público final com.google.protobuf.UnknownFieldSet getUnknownFields ()

código hash int público ()

público final booleano isInitialized ()

JobDef.Builder estático público newBuilder (prototipo de JobDef )

JobDef.Builder estático público newBuilder ()

público JobDef.Builder newBuilderForType ()

JobDef estático público parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

JobDef estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

JobDef parseFrom público estático (datos ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

JobDef parseFrom público estático (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

JobDef parseFrom público estático (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

JobDef parseFrom estático público (entrada com.google.protobuf.CodedInputStream)

Lanza
IOExcepción

JobDef estático público parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

JobDef parseFrom público estático (datos com.google.protobuf.ByteString)

Lanza
Excepción de buffer de protocolo no válido

JobDef parseFrom público estático (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

JobDef parseFrom público estático (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

public JobDef.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción