Conozca lo último en aprendizaje automático, IA generativa y más en el
Simposio WiML 2023.
JobDefOrBuilder
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Subclases indirectas conocidas JobDef |
Defines a single job in a TensorFlow cluster. | JobDef.Builder |
Defines a single job in a TensorFlow cluster. |
|
Métodos públicos
booleano abstracto | containsTasks (clave int)
Mapping from task ID to "hostname:port" string. |
cadena abstracta | |
resumen com.google.protobuf.ByteString | |
Mapa abstracto <Entero, Cadena> | |
int abstracto | |
Mapa abstracto <Entero, Cadena> | getTasksMap ()
Mapping from task ID to "hostname:port" string. |
cadena abstracta | getTasksOrDefault (clave int, String defaultValue)
Mapping from task ID to "hostname:port" string. |
cadena abstracta | getTasksOrThrow (clave int)
Mapping from task ID to "hostname:port" string. |
Métodos públicos
public abstract boolean containsTasks (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 abstracto String getName ()
The name of this job.
string name = 1;
resumen público com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
Mapa abstracto público <Integer, String> getTasks ()
public abstract 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 abstracto público <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;
público abstracto String getTasksOrDefault (clave 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;
Cadena abstracta 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;
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2021-04-01 (UTC)
[null,null,["Última actualización: 2021-04-01 (UTC)"],[],[],null,["# JobDefOrBuilder\n\npublic interface **JobDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [JobDef](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDef), [JobDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDef.Builder) |--------------------------------------------------------------------------------------|--------------------------------------------------------| | [JobDef](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDef) | ``` Defines a single job in a TensorFlow cluster. ``` | | [JobDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDef.Builder) | ``` Defines a single job in a TensorFlow cluster. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract boolean | [containsTasks](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#containsTasks(int))(int key) ``` Mapping from task ID to \"hostname:port\" string. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getName())() ``` The name of this job. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getNameBytes())() ``` The name of this job. ``` |\n| abstract Map\\\u003cInteger, String\\\u003e | [getTasks](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasks())() Use [getTasksMap()](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksMap()) instead. |\n| abstract int | [getTasksCount](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksCount())() ``` Mapping from task ID to \"hostname:port\" string. ``` |\n| abstract Map\\\u003cInteger, String\\\u003e | [getTasksMap](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksMap())() ``` Mapping from task ID to \"hostname:port\" string. ``` |\n| abstract String | [getTasksOrDefault](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksOrDefault(int, java.lang.String))(int key, String defaultValue) ``` Mapping from task ID to \"hostname:port\" string. ``` |\n| abstract String | [getTasksOrThrow](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksOrThrow(int))(int key) ``` Mapping from task ID to \"hostname:port\" string. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract boolean\n**containsTasks**\n(int key)\n\n\u003cbr /\u003e\n\n```\n Mapping from task ID to \"hostname:port\" string.\n If the `name` field contains \"worker\", and the `tasks` map contains a\n mapping from 7 to \"example.org:2222\", then the device prefix\n \"/job:worker/task:7\" will be assigned to \"example.org:2222\".\n \n```\n`map\u003cint32, string\u003e tasks = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n The name of this job.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The name of this job.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract Map\\\u003cInteger, String\\\u003e\n**getTasks**\n()\n\nUse [getTasksMap()](/jvm/api_docs/java/org/tensorflow/proto/distruntime/JobDefOrBuilder#getTasksMap()) instead. \n\n#### public abstract int\n**getTasksCount**\n()\n\n\u003cbr /\u003e\n\n```\n Mapping from task ID to \"hostname:port\" string.\n If the `name` field contains \"worker\", and the `tasks` map contains a\n mapping from 7 to \"example.org:2222\", then the device prefix\n \"/job:worker/task:7\" will be assigned to \"example.org:2222\".\n \n```\n`map\u003cint32, string\u003e tasks = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract Map\\\u003cInteger, String\\\u003e\n**getTasksMap**\n()\n\n\u003cbr /\u003e\n\n```\n Mapping from task ID to \"hostname:port\" string.\n If the `name` field contains \"worker\", and the `tasks` map contains a\n mapping from 7 to \"example.org:2222\", then the device prefix\n \"/job:worker/task:7\" will be assigned to \"example.org:2222\".\n \n```\n`map\u003cint32, string\u003e tasks = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getTasksOrDefault**\n(int key, String defaultValue)\n\n\u003cbr /\u003e\n\n```\n Mapping from task ID to \"hostname:port\" string.\n If the `name` field contains \"worker\", and the `tasks` map contains a\n mapping from 7 to \"example.org:2222\", then the device prefix\n \"/job:worker/task:7\" will be assigned to \"example.org:2222\".\n \n```\n`map\u003cint32, string\u003e tasks = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getTasksOrThrow**\n(int key)\n\n\u003cbr /\u003e\n\n```\n Mapping from task ID to \"hostname:port\" string.\n If the `name` field contains \"worker\", and the `tasks` map contains a\n mapping from 7 to \"example.org:2222\", then the device prefix\n \"/job:worker/task:7\" will be assigned to \"example.org:2222\".\n \n```\n`map\u003cint32, string\u003e tasks = 2;`\n\n\u003cbr /\u003e"]]