genel statik son sınıf ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef
Genel Yöntemler
ServerDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
SunucuDef | inşa etmek () |
SunucuDef | inşaKısmi () |
ServerDef.Builder | temizlemek () |
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 alanı) |
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 | clearProtocol () The protocol to be used by this server. |
ServerDef.Builder | clearTaskIndex () The task index of this server in its job. |
ServerDef.Builder | klon () |
KümeDef | getCluster () The cluster of which this server is a member. |
ClusterDef.Builder | getClusterBuilder () The cluster of which this server is a member. |
KümeCihaz Filtreleri | 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. |
SunucuDef | |
YapılandırmaProto | 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 statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Sicim | 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. |
Sicim | 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. |
son boole değeri | Başlatıldı () |
ServerDef.Builder | |
ServerDef.Builder | mergeClusterDeviceFilters ( ClusterDeviceFilters değeri) Device filters for remote tasks in the cluster. |
ServerDef.Builder | mergeDefaultSessionConfig ( ConfigProto değeri) 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 girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final ServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
ServerDef.Builder | |
ServerDef.Builder | |
ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters değeri) Device filters for remote tasks in the cluster. |
ServerDef.Builder | setDefaultSessionConfig ( ConfigProto değeri) 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 alanı, Nesne değeri) |
ServerDef.Builder | setJobName (Dize değeri) The name of the job of which this server is a member. |
ServerDef.Builder | setJobNameBytes (com.google.protobuf.ByteString değeri) The name of the job of which this server is a member. |
ServerDef.Builder | setPort (int değeri) The server port. |
ServerDef.Builder | setProtocol (Dize değeri) The protocol to be used by this server. |
ServerDef.Builder | setProtocolBytes (com.google.protobuf.ByteString değeri) The protocol to be used by this server. |
ServerDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
ServerDef.Builder | setTaskIndex (int değeri) The task index of this server in its job. |
final ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public ServerDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
genel 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;
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;
genel ServerDef.Builder clearPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
genel ServerDef.Builder clearProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public 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;
genel ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
genel ClusterDef.Builder getClusterBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
genel 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;
herkese açık 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;
herkese açık 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;
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel Dize 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;
genel int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
genel Dize 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;
genel boolean hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
genel boolean 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;
genel boolean hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
genel final boolean isInitialized ()
public ServerDef.Builder mergeCluster ( ClusterDef değeri)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder mergeClusterDeviceFilters ( ClusterDeviceFilters değeri)
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 değeri)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
genel ServerDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel final ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ServerDef.Builder setCluster ( ClusterDef değeri)
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 değeri)
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 değeri)
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 alanı, Nesne değeri)
public ServerDef.Builder setJobName (Dize değeri)
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 değeri)
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 (int değeri)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public ServerDef.Builder setProtocol (Dize değeri)
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 değeri)
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 alanı, int indeksi, Nesne değeri)
public ServerDef.Builder setTaskIndex (int değeri)
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;