lớp cuối cùng tĩnh công khai ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Phương pháp công cộng
| ServerDef.Builder |  addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) | 
| ServerDef |  xây dựng () | 
| ServerDef | |
| ServerDef.Builder |  thông thoáng () | 
| ServerDef.Builder |  ClearCluster ()  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 (trường com.google.protobuf.Descriptors.FieldDescriptor) | 
| ServerDef.Builder |  clearJobName ()  The name of the job of which this server is a member. | 
| ServerDef.Builder |  ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| ServerDef.Builder |  ClearPort ()  The server port. | 
| ServerDef.Builder |  giao thức rõ ràng ()  The protocol to be used by this server. | 
| ServerDef.Builder |  ClearTaskIndex ()  The task index of this server in its job. | 
| ServerDef.Builder |  dòng vô tính () | 
| ClusterDef |  getCluster ()  The cluster of which this server is a member. | 
| ClusterDef.Builder |  getClusterBuilder ()  The cluster of which this server is a member. | 
| Bộ lọc cụm thiết bị |  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. | 
| ServerDef | |
| Cấu hìnhProto |  getDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| Cấu hìnhProto.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 tĩnh cuối cùng | |
| com.google.protobuf.Descriptors.Descriptor | |
| Sợi dây |  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. | 
| int |  getPort ()  The server port. | 
| Sợi dây |  getProtocol ()  The protocol to be used by this server. | 
| com.google.protobuf.ByteString |  getProtocolBytes ()  The protocol to be used by this server. | 
| int |  getTaskIndex ()  The task index of this server in its job. | 
| boolean |  hasCluster ()  The cluster of which this server is a member. | 
| boolean |  hasClusterDeviceFilters ()  Device filters for remote tasks in the cluster. | 
| boolean |  hasDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| boolean cuối cùng | |
| ServerDef.Builder | |
| ServerDef.Builder |  mergeClusterDeviceFilters (giá trị ClusterDeviceFilters )  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  mergeDefaultSessionConfig (giá trị ConfigProto )  The default configuration for sessions that run on this server. | 
| ServerDef.Builder |  mergeFrom (com.google.protobuf.Message other) | 
| ServerDef.Builder |  mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| ServerDef.Builder cuối cùng |  hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) | 
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder |  setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue)  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  setClusterDeviceFilters (giá trị ClusterDeviceFilters )  Device filters for remote tasks in the cluster. | 
| ServerDef.Builder |  setDefaultSessionConfig (giá trị 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 (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) | 
| ServerDef.Builder |  setJobName (Giá trị chuỗi)  The name of the job of which this server is a member. | 
| ServerDef.Builder |  setJobNameBytes (giá trị com.google.protobuf.ByteString)  The name of the job of which this server is a member. | 
| ServerDef.Builder |  setPort (giá trị int)  The server port. | 
| ServerDef.Builder |  setProtocol (Giá trị chuỗi)  The protocol to be used by this server. | 
| ServerDef.Builder |  setProtocolBytes (giá trị com.google.protobuf.ByteString)  The protocol to be used by this server. | 
| ServerDef.Builder |  setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) | 
| ServerDef.Builder |  setTaskIndex (giá trị int)  The task index of this server in its job. | 
| ServerDef.Builder cuối cùng |  setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)  | 
Phương pháp kế thừa
Phương pháp công cộng
public ServerDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
Public 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 công khai 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; Public 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; ServerDef.Builder công khai 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; công khai ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; công khai ClusterDef.Builder getClusterBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; công khai 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; công khai 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; công khai 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; công khai ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ConfigProto getDefaultSessionConfig công khai ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ConfigProto.Builder công khai getDefaultSessionConfigBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ConfigProtoOrBuilder công khai getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai 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; com.google.protobuf.ByteString getJobNameBytes công khai ()
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; int công khai getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; Chuỗi công khai getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; com.google.protobuf.ByteString getProtocolBytes công khai ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; int công khai 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; boolean công khai hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; boolean công khai 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; boolean công khai hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; boolean cuối cùng công khai được khởi tạo ()
public ServerDef.Builder mergeCluster (giá trị ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public ServerDef.Builder mergeClusterDeviceFilters (giá trị 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 (giá trị ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException | 
|---|
trận chung kết công khai ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public ServerDef.Builder setCluster (giá trị ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ServerDef.Builder setCluster công cộng ( 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 (giá trị 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 (giá trị 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 (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public ServerDef.Builder setJobName (Giá trị chuỗi)
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 (giá trị 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 (giá trị int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder setProtocol (Giá trị chuỗi)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public ServerDef.Builder setProtocolBytes (giá trị 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 (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public ServerDef.Builder setTaskIndex (giá trị 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;