classe 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 do objeto) |
ServidorDef | construir () |
ServidorDef | |
ServerDef.Builder | claro () |
ServerDef.Builder | limparCluster () The cluster of which this server is a member. |
ServerDef.Builder | clearClusterDeviceFilters () Device filters for remote tasks in the cluster. |
ServerDef.Builder | clearDefaultSessionConfig () The default configuration for sessions that run on this server. |
ServerDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ServerDef.Builder | limparNomeJob () The name of the job of which this server is a member. |
ServerDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
ServerDef.Builder | limparPort () The server port. |
ServerDef.Builder | limparProtocolo () The protocol to be used by this server. |
ServerDef.Builder | clearTaskIndex () The task index of this server in its job. |
ServerDef.Builder | clonar () |
ClusterDef | getCluster () The cluster of which this server is a member. |
ClusterDef.Builder | getClusterBuilder () The cluster of which this server is a member. |
Filtros de ClusterDevice | 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 | |
ConfigProto | 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. |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getJobName () The name of the job of which this server is a member. |
com.google.protobuf.ByteString | getJobNameBytes () The name of the job of which this server is a member. |
interno | getPort () The server port. |
Corda | getProtocolo () The protocol to be used by this server. |
com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
interno | getTaskIndex () The task index of this server in its job. |
booleano | hasCluster () The cluster of which this server is a member. |
booleano | hasClusterDeviceFilters () 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 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 outro) |
ServerDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final ServerDef.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ServerDef.Builder | |
ServerDef.Builder | |
ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Builder construtorForValue) Device filters for remote tasks in the cluster. |
ServerDef.Builder | setClusterDeviceFilters (valor 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 construtorForValue) The default configuration for sessions that run on this server. |
ServerDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ServerDef.Builder | setJobName (valor da string) 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 interno) The server port. |
ServerDef.Builder | setProtocol (valor da string) 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 do objeto) |
ServerDef.Builder | setTaskIndex (valor interno) The task index of this server in its job. |
final ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public ServerDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;
público 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;
público 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;
público ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
ClusterDef.Builder públicogetClusterBuilder ( )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
ClusterDeviceFilters públicos 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;
ClusterDeviceFilters.Builder público 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;
ClusterDefOrBuilder públicogetClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
ConfigProto público getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ConfigProto.Builder getDefaultSessionConfigBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
String 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;
String 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 booleano público ()
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;
público booleano hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
público final booleano isInitialized ()
público ServerDef.Builder mergeCluster (valor ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder mergeClusterDeviceFilters (valor 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;
public 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)
Lança
IOException |
---|
público final ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
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;
público ServerDef.Builder setClusterDeviceFilters (valor 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;
public 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 do objeto)
público ServerDef.Builder setJobName (valor de string)
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 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 interno)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
público ServerDef.Builder setProtocol (valor de string)
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 do objeto)
público ServerDef.Builder setTaskIndex (valor interno)
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;