ServerDef

public final class ServerDef

 Defines the configuration of a single TensorFlow server.
 
tensorflow.ServerDef tipo tensorflow.ServerDef

Classes aninhadas

aula ServerDef.Builder
 Defines the configuration of a single TensorFlow server. 

Constantes

int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
int CLUSTER_FIELD_NUMBER
int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
int JOB_NAME_FIELD_NUMBER
int PORT_FIELD_NUMBER
int PROTOCOL_FIELD_NUMBER
int TASK_INDEX_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
ClusterDef
getCluster ()
 The cluster of which this server is a member.
ClusterDeviceFilters
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.
estático ServerDef
ServerDef
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 static com.google.protobuf.Descriptors.Descriptor
Fragmento
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.
Fragmento
getProtocol ()
 The protocol to be used by this server.
com.google.protobuf.ByteString
getProtocolBytes ()
 The protocol to be used by this server.
int
int
getTaskIndex ()
 The task index of this server in its job.
final com.google.protobuf.UnknownFieldSet
boleano
hasCluster ()
 The cluster of which this server is a member.
boleano
hasClusterDeviceFilters ()
 Device filters for remote tasks in the cluster.
boleano
hasDefaultSessionConfig ()
 The default configuration for sessions that run on this server.
int
final booleano
static ServerDef.Builder
newBuilder (protótipo ServerDef )
static ServerDef.Builder
ServerDef.Builder
estático ServerDef
parseDelimitedFrom (InputStream input)
estático ServerDef
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático ServerDef
parseFrom (dados ByteBuffer)
estático ServerDef
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático ServerDef
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático ServerDef
parseFrom (com.google.protobuf.CodedInputStream input)
estático ServerDef
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático ServerDef
parseFrom (com.google.protobuf.ByteString data)
estático ServerDef
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático ServerDef
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
ServerDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER

Valor constante: 7

public static final int CLUSTER_FIELD_NUMBER

Valor Constante: 1

public static final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER

Valor constante: 4

public static final int JOB_NAME_FIELD_NUMBER

Valor constante: 2

public static final int PORT_FIELD_NUMBER

Valor constante: 6

public static final int PROTOCOL_FIELD_NUMBER

Valor constante: 5

public static final int TASK_INDEX_FIELD_NUMBER

Valor Constante: 3

Métodos Públicos

public boolean equals (Object obj)

public ClusterDef getCluster ()

 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 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 static ServerDef getDefaultInstance ()

public ServerDef getDefaultInstanceForType ()

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;

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String 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;

público getParserForType ()

public int getPort ()

 The server port. If not set, then we identify the port from the job_name.
 
int32 port = 6;

public String getProtocol ()

Protocolo de string protocol = 5;

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

public com.google.protobuf.ByteString getProtocolBytes ()

Protocolo de string protocol = 5;

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

public int getSerializedSize ()

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;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasCluster ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

public 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;

public boolean hasDefaultSessionConfig ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

public int hashCode ()

public final boolean isInitialized ()

public static ServerDef.Builder newBuilder (protótipo ServerDef )

public static ServerDef.Builder newBuilder ()

public ServerDef.Builder newBuilderForType ()

public static ServerDef parseDelimitedFrom (InputStream input)

Lança
IOException

public static ServerDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ServerDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static ServerDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ServerDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static ServerDef parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static ServerDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static ServerDef parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static ServerDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ServerDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public ServerDef.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException