publiczna statyczna klasa końcowa ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef
Metody publiczne
Konstruktor ServerDef | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Wartość serwera | zbudować () |
Wartość serwera | |
Konstruktor ServerDef | jasne () |
Konstruktor ServerDef | wyczyść klaster () The cluster of which this server is a member. |
Konstruktor ServerDef | clearClusterDeviceFilters () Device filters for remote tasks in the cluster. |
Konstruktor ServerDef | clearDefaultSessionConfig () The default configuration for sessions that run on this server. |
Konstruktor ServerDef | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor ServerDef | wyczyśćNazwęZadania () The name of the job of which this server is a member. |
Konstruktor ServerDef | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor ServerDef | wyczyśćPort () The server port. |
Konstruktor ServerDef | wyczyśćProtokół () The protocol to be used by this server. |
Konstruktor ServerDef | clearTaskIndex () The task index of this server in its job. |
Konstruktor ServerDef | klon () |
KlasterDef | pobierz klaster () The cluster of which this server is a member. |
Konstruktor defibrylacji klastrów | pobierzClusterBuilder () The cluster of which this server is a member. |
Filtry urządzeń klastra | 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. |
Wartość serwera | |
KonfiguracjaProto | 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. |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Smyczkowy | pobierzNazwaZadania () 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. |
wew | pobierzPort () The server port. |
Smyczkowy | pobierz protokół () The protocol to be used by this server. |
com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
wew | getTaskIndex () The task index of this server in its job. |
wartość logiczna | maCluster () The cluster of which this server is a member. |
wartość logiczna | maClusterDeviceFilters () Device filters for remote tasks in the cluster. |
wartość logiczna | maDefaultSessionConfig () The default configuration for sessions that run on this server. |
końcowa wartość logiczna | |
Konstruktor ServerDef | |
Konstruktor ServerDef | mergeClusterDeviceFilters (wartość ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
Konstruktor ServerDef | mergeDefaultSessionConfig (wartość ConfigProto ) The default configuration for sessions that run on this server. |
Konstruktor ServerDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor ServerDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
końcowy ServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor ServerDef | |
Konstruktor ServerDef | |
Konstruktor ServerDef | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
Konstruktor ServerDef | setClusterDeviceFilters (wartość ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
Konstruktor ServerDef | setDefaultSessionConfig (wartość ConfigProto ) The default configuration for sessions that run on this server. |
Konstruktor ServerDef | setDefaultSessionConfig ( ConfigProto.Builder builderForValue) The default configuration for sessions that run on this server. |
Konstruktor ServerDef | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor ServerDef | setJobName (wartość ciągu) The name of the job of which this server is a member. |
Konstruktor ServerDef | setJobNameBytes (wartość com.google.protobuf.ByteString) The name of the job of which this server is a member. |
Konstruktor ServerDef | setPort (wartość int) The server port. |
Konstruktor ServerDef | setProtocol (wartość ciągu) The protocol to be used by this server. |
Konstruktor ServerDef | setProtocolBytes (wartość com.google.protobuf.ByteString) The protocol to be used by this server. |
Konstruktor ServerDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor ServerDef | setTaskIndex (wartość int) The task index of this server in its job. |
końcowy ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public ServerDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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;
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;
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;
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;
publiczny ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public 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;
public 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 ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczny ciąg 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;
publiczny int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public String 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;
publiczny 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;
publiczna wartość logiczna hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
publiczna wartość logiczna 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;
publiczna wartość logiczna hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
publiczna końcowa wartość logiczna isInitialized ()
public ServerDef.Builder mergeCluster (wartość ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder mergeClusterDeviceFilters (wartość 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 (wartość ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ServerDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet nieznanyFields)
public ServerDef.Builder setCluster (wartość 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 (wartość 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 (wartość 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public ServerDef.Builder setJobName (wartość ciągu)
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 (wartość 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 (wartość int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public ServerDef.Builder setProtocol (wartość ciągu)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public ServerDef.Builder setProtocolBytes (wartość 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public ServerDef.Builder setTaskIndex (wartość 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;