общедоступный статический конечный класс ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Публичные методы
| ServerDef.Builder |  addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) | 
| ServerDef |  строить () | 
| ServerDef | |
| ServerDef.Builder |  прозрачный () | 
| ServerDef.Builder |  ОчиститьКластер ()  The cluster of which this server is a member. | 
| ServerDef.Builder |  ClearClusterDeviceFilters ()  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  очиститьDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| ServerDef.Builder |  ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) | 
| ServerDef.Builder |  очиститьимя_задания ()  The name of the job of which this server is a member. | 
| ServerDef.Builder |  ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| ServerDef.Builder |  очиститьПорт ()  The server port. | 
| ServerDef.Builder |  очистить протокол ()  The protocol to be used by this server. | 
| ServerDef.Builder |  ОчиститьТаскИндекс ()  The task index of this server in its job. | 
| ServerDef.Builder |  клон () | 
| КластерДеф |  получитьКластер ()  The cluster of which this server is a member. | 
| ClusterDef.Builder |  getClusterBuilder ()  The cluster of which this server is a member. | 
| Фильтры кластерных устройств |  getClusterDeviceFilters ()  Device filters for remote tasks in the cluster. | 
| ClusterDeviceFilters.Builder |  getClusterDeviceFiltersBuilder ()  Device filters for remote tasks in the cluster. | 
| Кластердевицефилтерсорбилдер |  getClusterDeviceFiltersOrBuilder ()  Device filters for remote tasks in the cluster. | 
| КластерДефОрБилдер |  getClusterOrBuilder ()  The cluster of which this server is a member. | 
| ServerDef | |
| КонфигПрото |  getDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| ConfigProto.Builder |  getDefaultSessionConfigBuilder ()  The default configuration for sessions that run on this server. | 
| КонфигПротоОрБилдер |  getDefaultSessionConfigOrBuilder ()  The default configuration for sessions that run on this server. | 
| окончательный статический com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Нить |  получитьимя_задания ()  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. | 
| интервал |  получитьПорт ()  The server port. | 
| Нить |  получить протокол ()  The protocol to be used by this server. | 
| com.google.protobuf.ByteString |  getProtocolBytes ()  The protocol to be used by this server. | 
| интервал |  getTaskIndex ()  The task index of this server in its job. | 
| логическое значение |  имеетКластер ()  The cluster of which this server is a member. | 
| логическое значение |  имеетКластерДевицеФильтерс ()  Device filters for remote tasks in the cluster. | 
| логическое значение |  имеетDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| последнее логическое значение | |
| ServerDef.Builder | |
| ServerDef.Builder |  mergeClusterDeviceFilters (значение ClusterDeviceFilters )  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  mergeDefaultSessionConfig (значение ConfigProto )  The default configuration for sessions that run on this server. | 
| ServerDef.Builder |  mergeFrom (com.google.protobuf.Message другое) | 
| ServerDef.Builder |  mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| окончательный ServerDef.Builder |  mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) | 
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder |  setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue)  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  setClusterDeviceFilters (значение ClusterDeviceFilters )  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  setDefaultSessionConfig (значение 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) | 
| ServerDef.Builder |  setJobName (строковое значение)  The name of the job of which this server is a member. | 
| ServerDef.Builder |  setJobNameBytes (значение com.google.protobuf.ByteString)  The name of the job of which this server is a member. | 
| ServerDef.Builder |  setPort (целое значение)  The server port. | 
| ServerDef.Builder |  setProtocol (строковое значение)  The protocol to be used by this server. | 
| ServerDef.Builder |  setProtocolBytes (значение com.google.protobuf.ByteString)  The protocol to be used by this server. | 
| ServerDef.Builder |  setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) | 
| ServerDef.Builder |  setTaskIndex (целое значение)  The task index of this server in its job. | 
| окончательный ServerDef.Builder |  setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)  | 
Унаследованные методы
Публичные методы
public ServerDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный ServerDef.Builder ClearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public 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; public ServerDef.Builder ClearDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; общедоступный 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; общедоступный ServerDef.Builder ClearPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; общедоступный ServerDef.Builder ClearProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; общедоступный 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; общественный ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; общедоступный ClusterDef.Builder getClusterBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public 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; public 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; public 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 getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public ConfigProto getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; общедоступный 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; общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
публичная строка 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; public 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; public int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; публичная строка getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public 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 ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; общедоступное логическое значение hasClusterDeviceFilters ()
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 ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; публичное финальное логическое значение isInitialized ()
public ServerDef.Builder mergeCluster (значение ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public ServerDef.Builder mergeClusterDeviceFilters (значение 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 (значение ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; общедоступный ServerDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO | 
|---|
общедоступный финальный ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServerDef.Builder setCluster (значение ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public ServerDef.Builder setCluster ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public 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 (значение 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 (значение ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ServerDef.Builder setJobName (строковое значение)
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 (значение 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; public ServerDef.Builder setPort (целое значение)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder setProtocol (строковое значение)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public ServerDef.Builder setProtocolBytes (значение 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public ServerDef.Builder setTaskIndex (целое значение)
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;