عمومی استاتیک کلاس نهایی ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef
روش های عمومی
ServerDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
ServerDef | ساختن () |
ServerDef | ساخت جزئی () |
ServerDef.Builder | روشن () |
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 (فیلد 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 | شفاف پروتکل () The protocol to be used by this server. |
ServerDef.Builder | clearTaskIndex () The task index of this server in its job. |
ServerDef.Builder | کلون () |
ClusterDef | getCluster () The cluster of which this server is a member. |
ClusterDef.Builder | getClusterBuilder () The cluster of which this server is a member. |
ClusterDeviceFilters | 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 | |
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. |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
رشته | 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. |
بین المللی | getPort () 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. |
بولی | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
بولی | hasDefaultSessionConfig () 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 other) |
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 فیلد، مقدار Object) |
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 (مقدار int) 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، مقدار Object) |
ServerDef.Builder | setTaskIndex (مقدار int) The task index of this server in its job. |
نهایی ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی ServerDef.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی ServerDef.Builder clearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public static final 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;
عمومی 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;
عمومی 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;
عمومی com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
عمومی 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 ()
عمومی ServerDef.Builder mergeCluster (مقدار ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
عمومی 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;
عمومی 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)
پرتاب می کند
IOException |
---|
عمومی ServerDef.Builder setCluster (مقدار ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
عمومی ServerDef.Builder setCluster ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
عمومی 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;
عمومی 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;
عمومی ServerDef.Builder setDefaultSessionConfig (مقدار ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
عمومی 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 فیلد، مقدار Object)
عمومی 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;
عمومی 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;
عمومی ServerDef.Builder setPort (مقدار int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
عمومی ServerDef.Builder setProtocol (مقدار رشته)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
عمومی ServerDef.Builder setProtocolBytes (مقدار com.google.protobuf.ByteString)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
عمومی ServerDef.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
عمومی ServerDef.Builder setTaskIndex (مقدار 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;