classe final pública ServerDef
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Classes aninhadas
| aula | ServerDef.Builder | Defines the configuration of a single TensorFlow server. | |
Constantes
| interno | CLUSTER_DEVICE_FILTERS_FIELD_NUMBER | |
| interno | CLUSTER_FIELD_NUMBER | |
| interno | DEFAULT_SESSION_CONFIG_FIELD_NUMBER | |
| interno | JOB_NAME_FIELD_NUMBER | |
| interno | PORT_FIELD_NUMBER | |
| interno | PROTOCOL_FIELD_NUMBER | |
| interno | TASK_INDEX_FIELD_NUMBER | 
Métodos Públicos
| booleano |  é igual (objeto obj) | 
| ClusterDef |  getCluster ()  The cluster of which this server is a member. | 
| Filtros de ClusterDevice |  getClusterDeviceFilters ()  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 estático | |
| ServidorDef | |
| ConfigProto |  getDefaultSessionConfig ()  The default configuration for sessions that run on this server. | 
| ConfigProtoOrBuilder |  getDefaultSessionConfigOrBuilder ()  The default configuration for sessions that run on this server. | 
| final estático com.google.protobuf.Descriptors.Descriptor | |
| Corda |  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. | 
| interno |  getPort ()  The server port. | 
| Corda |  getProtocolo ()  The protocol to be used by this server. | 
| com.google.protobuf.ByteString |  getProtocolBytes ()  The protocol to be used by this server. | 
| interno | |
| interno |  getTaskIndex ()  The task index of this server in its job. | 
| final com.google.protobuf.UnknownFieldSet | |
| 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. | 
| interno |  código hash () | 
| booleano final | |
| ServerDef.Builder estático |  newBuilder (protótipo ServerDef ) | 
| ServerDef.Builder estático | |
| ServerDef.Builder | |
| ServerDef estático |  parseDelimitedFrom (entrada InputStream) | 
| ServerDef estático |  parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| ServerDef estático |  parseFrom (dados de ByteBuffer) | 
| ServerDef estático |  parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| ServerDef estático |  parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| ServerDef estático |  parseFrom (entrada com.google.protobuf.CodedInputStream) | 
| ServerDef estático |  parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| ServerDef estático |  parseFrom (dados com.google.protobuf.ByteString) | 
| ServerDef estático |  parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| ServerDef estático |  parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| estático |  analisador () | 
| ServerDef.Builder | |
| vazio |  writeTo (saída com.google.protobuf.CodedOutputStream)  | 
Métodos herdados
Constantes
público estático final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
 Valor Constante: 7 
público estático final int CLUSTER_FIELD_NUMBER
 Valor Constante: 1 
público estático final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
 Valor Constante: 4 
int final estático público JOB_NAME_FIELD_NUMBER
 Valor Constante: 2 
público estático final int PORT_FIELD_NUMBER
 Valor Constante: 6 
público estático final int PROTOCOL_FIELD_NUMBER
 Valor Constante: 5 
int final estático público TASK_INDEX_FIELD_NUMBER
 Valor Constante: 3 
Métodos Públicos
booleano público é igual (Object obj)
público ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ClusterDeviceFilters públicos 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; público 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 públicogetClusterOrBuilder ()
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 ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String pública 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; público 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;  público
público int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; String pública getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; público int getSerializedSize ()
público 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; final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasCluster booleano público ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; hasClusterDeviceFilters booleano público ()
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; público booleano hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; hashCode int público ()
público final booleano isInitialized ()
public static ServerDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static ServerDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static ServerDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
public static ServerDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
público estático ServerDef parseFrom (dados com.google.protobuf.ByteString)
Lança
| InvalidProtocolBufferException | 
|---|
public static ServerDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static ServerDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
 estática pública
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException | 
|---|