classe finale statica pubblica ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Metodi pubblici
| ServerDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
| ServerDef | costruire () |
| ServerDef | buildPartial () |
| ServerDef.Builder | chiaro () |
| 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 (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| ServerDef.Builder | cancellaNomeLavoro () The name of the job of which this server is a member. |
| ServerDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| ServerDef.Builder | cancellaPorta () The server port. |
| ServerDef.Builder | protocollo chiaro () The protocol to be used by this server. |
| ServerDef.Builder | clearTaskIndex () The task index of this server in its job. |
| ServerDef.Builder | clone () |
| 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. |
| com.google.protobuf.Descriptors.Descriptor statico finale | |
| com.google.protobuf.Descriptors.Descriptor | |
| Corda | getNomeLavoro () 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. |
| Corda | getProtocollo () 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. |
| booleano | hasCluster () The cluster of which this server is a member. |
| booleano | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| booleano | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
| booleano finale | |
| ServerDef.Builder | |
| ServerDef.Builder | mergeClusterDeviceFilters (valore ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | mergeDefaultSessionConfig (valore ConfigProto ) The default configuration for sessions that run on this server. |
| ServerDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
| ServerDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
| finale ServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setClusterDeviceFilters (valore ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setDefaultSessionConfig (valore 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
| ServerDef.Builder | setJobName (valore stringa) The name of the job of which this server is a member. |
| ServerDef.Builder | setJobNameBytes (valore com.google.protobuf.ByteString) The name of the job of which this server is a member. |
| ServerDef.Builder | setPort (valore int) The server port. |
| ServerDef.Builder | setProtocol (valore stringa) The protocol to be used by this server. |
| ServerDef.Builder | setProtocolBytes (valore com.google.protobuf.ByteString) The protocol to be used by this server. |
| ServerDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
| ServerDef.Builder | setTaskIndex (valore int) The task index of this server in its job. |
| finale ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public ServerDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public ServerDef.Builder clearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; pubblico 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; public 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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
stringa pubblica 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; pubblico 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; public String getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; pubblico 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 booleano pubblico ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public booleano 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; pubblico booleano hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public final booleano isInitialized ()
pubblico ServerDef.Builder mergeCluster (valore ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; pubblico ServerDef.Builder mergeClusterDeviceFilters (valore 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; pubblico ServerDef.Builder mergeDefaultSessionConfig (valore ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
public final ServerDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
pubblico ServerDef.Builder setCluster (valore 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; pubblico ServerDef.Builder setClusterDeviceFilters (valore 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 (valore 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public ServerDef.Builder setJobName (valore stringa)
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 (valore 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; pubblico ServerDef.Builder setPort (valore int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder setProtocol (valore stringa)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public ServerDef.Builder setProtocolBytes (valore 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
pubblico ServerDef.Builder setTaskIndex (valore 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;