clase final pública ServerDef
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Clases anidadas
| clase | ServerDef.Builder | Defines the configuration of a single TensorFlow server. | |
Constantes
| entero | CLUSTER_DEVICE_FILTERS_FIELD_NUMBER | |
| entero | CLUSTER_FIELD_NUMBER | |
| entero | DEFAULT_SESSION_CONFIG_FIELD_NUMBER | |
| entero | TRABAJO_NOMBRE_CAMPO_NÚMERO | |
| entero | PORT_FIELD_NUMBER | |
| entero | PROTOCOLO_CAMPO_NÚMERO | |
| entero | TASK_INDEX_FIELD_NUMBER |
Métodos públicos
| booleano | es igual (Objeto obj) |
| Definición de clúster | obtenerClúster () The cluster of which this server is a member. |
| Filtros de dispositivos de clúster | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ClusterDeviceFiltersOrBuilder | getClusterDeviceFiltersOrBuilder () Device filters for remote tasks in the cluster. |
| ClusterDefOrBuilder | getClusterOrBuilder () The cluster of which this server is a member. |
| ServerDef estático | |
| ServidorDef | |
| Proto de configuración | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ConfigProtoOrBuilder | getDefaultSessionConfigOrBuilder () The default configuration for sessions that run on this server. |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Cadena | obtenerNombreTrabajo () The name of the job of which this server is a member. |
| com.google.protobuf.ByteString | getNombreTrabajoBytes () The name of the job of which this server is a member. |
| entero | obtener puerto () The server port. |
| Cadena | obtener protocolo () The protocol to be used by this server. |
| com.google.protobuf.ByteString | obtenerProtocolBytes () The protocol to be used by this server. |
| entero | |
| entero | getTaskIndex () The task index of this server in its job. |
| com.google.protobuf.UnknownFieldSet final | |
| booleano | tieneClúster () The cluster of which this server is a member. |
| booleano | tieneClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| booleano | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
| entero | código hash () |
| booleano final | |
| ServerDef.Builder estático | newBuilder (prototipo de ServerDef ) |
| ServerDef.Builder estático | |
| ServerDef.Builder | |
| ServerDef estático | parseDelimitedFrom (entrada de InputStream) |
| ServerDef estático | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos de ByteBuffer) |
| ServerDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| ServerDef estático | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| ServerDef estático | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos com.google.protobuf.ByteString) |
| ServerDef estático | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| estático | analizador () |
| ServerDef.Builder | |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
Valor constante: 7
int final estático público CLUSTER_FIELD_NUMBER
Valor constante: 1
int final estático público DEFAULT_SESSION_CONFIG_FIELD_NUMBER
Valor constante: 4
int final estático público JOB_NAME_FIELD_NUMBER
Valor constante: 2
int final estático público PORT_FIELD_NUMBER
Valor constante: 6
int final estático público PROTOCOL_FIELD_NUMBER
Valor constante: 5
público estático final int TASK_INDEX_FIELD_NUMBER
Valor constante: 3
Métodos públicos
público booleano es igual (Objeto obj)
public ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; públicos ClusterDeviceFilters getClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7; público ClusterDeviceFiltersOrBuilder getClusterDeviceFiltersOrBuilder ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7; público ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ConfigPro público para getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; público ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
cadena pública getJobName ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2; público com.google.protobuf.ByteString getJobNameBytes ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2; público getParserForType ()
público int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; cadena pública getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público int getSerializedSize ()
público int getTaskIndex ()
The task index of this server in its job. NOTE: The `cluster` field must contain a `JobDef` with a matching `name` and a mapping in its `tasks` field for this index.
int32 task_index = 3; público final com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasCluster público booleano ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; hasClusterDeviceFilters booleano público ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7; hasDefaultSessionConfig booleano público ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; código hash int público ()
público final booleano isInitialized ()
ServerDef estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ServerDef público estático parseFrom (datos ByteBuffer)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServerDef parseFrom público estático (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ServerDef parseFrom público estático (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServerDef parseFrom público estático (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOExcepción |
|---|
ServerDef parseFrom público estático (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServerDef parseFrom público estático (datos com.google.protobuf.ByteString)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServerDef parseFrom público estático (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ServerDef parseFrom público estático (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOExcepción |
|---|