public final class JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef
tipo tensorflow.JobDef
Classes aninhadas
aula | JobDef.Builder | Defines a single job in a TensorFlow cluster. |
Constantes
int | NAME_FIELD_NUMBER | |
int | TASKS_FIELD_NUMBER |
Métodos Públicos
boleano | contémTasks (chave int) Mapping from task ID to "hostname:port" string. |
boleano | igual a (objeto obj) |
JobDef estático | |
JobDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
int | |
Map <Integer, String> | getTasks () Use getTasksMap() vez disso. |
int | getTasksCount () Mapping from task ID to "hostname:port" string. |
Map <Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
Fragmento | getTasksOrDefault (int key, String defaultValue) Mapping from task ID to "hostname:port" string. |
Fragmento | getTasksOrThrow (int key) Mapping from task ID to "hostname:port" string. |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
JobDef.Builder estático | newBuilder (protótipo JobDef ) |
JobDef.Builder estático | newBuilder () |
JobDef.Builder | |
JobDef estático | parseDelimitedFrom (input InputStream) |
JobDef estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef estático | parseFrom (dados ByteBuffer) |
JobDef estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef estático | parseFrom (com.google.protobuf.CodedInputStream input) |
JobDef estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef estático | parseFrom (com.google.protobuf.ByteString data) |
JobDef estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
JobDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int NAME_FIELD_NUMBER
Valor Constante: 1
public static final int TASKS_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
public boolean containsTasks (chave 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 boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
The name of this job.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
público getParserForType ()
public int getSerializedSize ()
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;
public String getTasksOrDefault (int key, 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 (int key)
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 ()
public int hashCode ()
public final boolean isInitialized ()
public static JobDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static JobDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static JobDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static JobDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static JobDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static JobDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static JobDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|