JobDef

classe finale publique JobDef

 Defines a single job in a TensorFlow cluster.
 
tensorflow.JobDef de type Protobuf.JobDef

Classes imbriquées

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

Constantes

int NAME_FIELD_NUMBER
int TASKS_FIELD_NUMBER

Méthodes publiques

booléen
contient des tâches (clé int)
 Mapping from task ID to "hostname:port" string.
booléen
est égal à (Obj objet)
JobDef statique
JobDef
final statique com.google.protobuf.Descriptors.Descriptor
Chaîne
obtenirNom ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
int
Carte<Integer, String>
getTasks ()
Utilisez plutôt getTasksMap() .
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Carte<Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Chaîne
getTasksOrDefault (clé int, chaîne valeur par défaut)
 Mapping from task ID to "hostname:port" string.
Chaîne
getTasksOrThrow (clé int)
 Mapping from task ID to "hostname:port" string.
final com.google.protobuf.UnknownFieldSet
int
booléen final
JobDef.Builder statique
newBuilder (prototype JobDef )
JobDef.Builder statique
JobDef.Builder
JobDef statique
parseDelimitedFrom (entrée InputStream)
JobDef statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statique
parseFrom (données ByteBuffer)
JobDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
JobDef statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statique
parseFrom (données com.google.protobuf.ByteString)
JobDef statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
JobDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final entier NAME_FIELD_NUMBER

Valeur constante : 1

public statique final int TASKS_FIELD_NUMBER

Valeur constante : 2

Méthodes publiques

public booléen containTasks (clé 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 booléen égal (Objet obj)

public statique JobDef getDefaultInstance ()

public JobDef getDefaultInstanceForType ()

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

chaîne publique getName ()

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

publique getParserForType ()

public int getSerializedSize ()

public Map<Integer, String> getTasks ()

Utilisez plutôt 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;

public 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;

chaîne publique getTasksOrDefault (clé int, chaîne valeur par défaut)

 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;

chaîne publique getTasksOrThrow (clé 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 ()

code de hachage int public ()

public final booléen isInitialized ()

public statique JobDef.Builder newBuilder (prototype JobDef )

public statique JobDef.Builder newBuilder ()

public JobDef.Builder newBuilderForType ()

public statique JobDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique JobDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique JobDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique JobDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique JobDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique JobDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique JobDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique JobDef parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public statique JobDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique JobDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public JobDef.Builder toBuilder ()

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

Jetés
IOException