publiczne zajęcia końcowe JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef Klasy zagnieżdżone
| klasa | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
Stałe
| wew | NAME_FIELD_NUMBER | |
| wew | TASKS_FIELD_NUMBER |
Metody publiczne
| wartość logiczna | zawieraZadania (klucz int) Mapping from task ID to "hostname:port" string. |
| wartość logiczna | równa się (obiekt obiektu) |
| statyczny JobDef | |
| JobDef | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Smyczkowy | pobierz nazwę () The name of this job. |
| com.google.protobuf.ByteString | getNameBytes () The name of this job. |
| wew | |
| Mapa<liczba całkowita, ciąg> | pobierzZadania () Zamiast tego użyj getTasksMap() . |
| wew | getTasksCount () Mapping from task ID to "hostname:port" string. |
| Mapa<liczba całkowita, ciąg> | getTasksMap () Mapping from task ID to "hostname:port" string. |
| Smyczkowy | getTasksOrDefault (klucz int, ciąg domyślna wartość) Mapping from task ID to "hostname:port" string. |
| Smyczkowy | getTasksOrThrow (klawisz int) Mapping from task ID to "hostname:port" string. |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny JobDef.Builder | newBuilder (prototyp JobDef ) |
| statyczny JobDef.Builder | |
| JobDef.Builder | |
| statyczny JobDef | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny JobDef | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny JobDef | parseFrom (dane ByteBuffer) |
| statyczny JobDef | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny JobDef | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny JobDef | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny JobDef | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny JobDef | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny JobDef | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny JobDef | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| JobDef.Builder | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int NAME_FIELD_NUMBER
Wartość stała: 1
publiczny statyczny końcowy int TASKS_FIELD_NUMBER
Wartość stała: 2
Metody publiczne
publiczna wartość logiczna zawieraZadania (klucz 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; publiczna wartość logiczna równa się (obiekt obiektu)
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; publiczny getParserForType ()
publiczny 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 (klucz 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; publiczny ciąg getTasksOrThrow (klucz 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; publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny JobDef parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny JobDef parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny JobDef parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny JobDef parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny JobDef parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny JobDef parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny JobDef parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny JobDef parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny JobDef parseFrom (com.google.protobuf.ByteString dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
| Wyjątek IO |
|---|