genel final dersi JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef İç İçe Sınıflar
| sınıf | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
Sabitler
| int | NAME_FIELD_NUMBER | |
| int | TASKS_FIELD_NUMBER |
Genel Yöntemler
| boolean | içerirGörevler (int anahtarı) Mapping from task ID to "hostname:port" string. |
| boolean | eşittir (Nesne nesnesi) |
| statik İş Tanımı | |
| İş Tanımı | |
| final statik com.google.protobuf.Descriptors.Descriptor | |
| Sicim | getName () The name of this job. |
| com.google.protobuf.ByteString | getNameBytes () The name of this job. |
| int | |
| Harita<Tamsayı, Dize> | getTasks () Bunun yerine getTasksMap() kullanın. |
| int | getTasksCount () Mapping from task ID to "hostname:port" string. |
| Harita<Tamsayı, Dize> | getTasksMap () Mapping from task ID to "hostname:port" string. |
| Sicim | getTasksOrDefault (int anahtarı, String defaultValue) Mapping from task ID to "hostname:port" string. |
| Sicim | getTasksOrThrow (int anahtarı) Mapping from task ID to "hostname:port" string. |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashKodu () |
| son boole değeri | Başlatıldı () |
| statik JobDef.Builder | yeniİnşaatçı ( JobDef prototipi) |
| statik JobDef.Builder | yeniİnşaatçı () |
| JobDef.Builder | |
| statik İş Tanımı | parseDelimitedFrom (InputStream girişi) |
| statik İş Tanımı | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik İş Tanımı | parseFrom (ByteBuffer verileri) |
| statik İş Tanımı | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik İş Tanımı | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik İş Tanımı | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
| statik İş Tanımı | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik İş Tanımı | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
| statik İş Tanımı | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik İş Tanımı | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik | ayrıştırıcı () |
| JobDef.Builder | inşaatçıya () |
| geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int NAME_FIELD_NUMBER
Sabit Değer: 1
genel statik final int TASKS_FIELD_NUMBER
Sabit Değer: 2
Genel Yöntemler
genel boolean içerirGörevler (int anahtarı)
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; genel boole eşittir (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
genel Dize getName ()
The name of this job.
string name = 1; public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; halk 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; genel Harita<Tamsayı, Dize> 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 anahtarı, 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 anahtarı)
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; genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel int hashCode ()
genel final boolean isInitialized ()
genel statik JobDef parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik JobDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik JobDef ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik JobDef ayrıştırmaFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik JobDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik JobDef ayrıştırmaFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik JobDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
| IOİstisnası |
|---|