clase final estática pública ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Métodos públicos
| ServerDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
| ServidorDef | construir () |
| ServidorDef | |
| ServerDef.Builder | claro () |
| ServerDef.Builder | claroClúster () The cluster of which this server is a member. |
| ServerDef.Builder | borrarClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ServerDef.Builder | borrarDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ServerDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| ServerDef.Builder | borrarNombreTrabajo () The name of the job of which this server is a member. |
| ServerDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
| ServerDef.Builder | puerto claro () The server port. |
| ServerDef.Builder | borrar protocolo () The protocol to be used by this server. |
| ServerDef.Builder | borrarTaskIndex () The task index of this server in its job. |
| ServerDef.Builder | clonar () |
| Definición de clúster | obtenerClúster () The cluster of which this server is a member. |
| ClusterDef.Constructor | obtenerClusterBuilder () The cluster of which this server is a member. |
| Filtros de dispositivos de clúster | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ClusterDeviceFilters.Builder | getClusterDeviceFiltersBuilder () 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. |
| ServidorDef | |
| Proto de configuración | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ConfigProto.Builder | getDefaultSessionConfigBuilder () 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 | |
| com.google.protobuf.Descriptors.Descriptor | |
| 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 | getTaskIndex () The task index of this server in its job. |
| 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. |
| booleano final | |
| ServerDef.Builder | |
| ServerDef.Builder | mergeClusterDeviceFilters (valor de ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | mergeDefaultSessionConfig (valor ConfigProto ) The default configuration for sessions that run on this server. |
| ServerDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
| ServerDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| final ServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setClusterDeviceFilters (valor de ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setDefaultSessionConfig (valor ConfigProto ) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setDefaultSessionConfig ( ConfigProto.Builder builderForValue) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
| ServerDef.Builder | setJobName (valor de cadena) The name of the job of which this server is a member. |
| ServerDef.Builder | setJobNameBytes (valor com.google.protobuf.ByteString) The name of the job of which this server is a member. |
| ServerDef.Builder | setPort (valor int) The server port. |
| ServerDef.Builder | setProtocol (valor de cadena) The protocol to be used by this server. |
| ServerDef.Builder | setProtocolBytes (valor com.google.protobuf.ByteString) The protocol to be used by this server. |
| ServerDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
| ServerDef.Builder | setTaskIndex (valor int) The task index of this server in its job. |
| final ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public ServerDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ServerDef.Builder clearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; público ServerDef.Builder clearClusterDeviceFilters ()
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 ServerDef.Builder clearDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder clearJobName ()
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 ServerDef.Builder clearPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder clearProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público ServerDef.Builder clearTaskIndex ()
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; public ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; público ClusterDef.Builder getClusterBuilder ()
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 ClusterDeviceFilters.Builder getClusterDeviceFiltersBuilder ()
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 ConfigProto.Builder getDefaultSessionConfigBuilder ()
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 ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 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 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; 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; público final booleano isInitialized ()
public ServerDef.Builder mergeCluster (valor ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public ServerDef.Builder mergeClusterDeviceFilters (valor de ClusterDeviceFilters )
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 ServerDef.Builder mergeDefaultSessionConfig (valor ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ServerDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público ServerDef.Builder setCluster (valor ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; público ServerDef.Builder setCluster ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; público ServerDef.Builder setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue)
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; public ServerDef.Builder setClusterDeviceFilters (valor de ClusterDeviceFilters )
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 ServerDef.Builder setDefaultSessionConfig (valor ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; público ServerDef.Builder setDefaultSessionConfig ( ConfigProto.Builder builderForValue)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public ServerDef.Builder setJobName (valor de cadena)
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; public ServerDef.Builder setJobNameBytes (valor com.google.protobuf.ByteString)
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 ServerDef.Builder setPort (valor int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder setProtocol (valor de cadena)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público ServerDef.Builder setProtocolBytes (valor com.google.protobuf.ByteString)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public ServerDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público ServerDef.Builder setTaskIndex (valor int)
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;