ServerDef de clase final pública
Defines the configuration of a single TensorFlow server.Tipo de
tensorflow.ServerDef Clases anidadas
| clase | ServerDef.Builder | Defines the configuration of a single TensorFlow server. | |
Constantes
Métodos públicos
| booleano | es 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. |
| ServerDef estático | |
| 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. |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Cuerda | 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. |
| En t | getPort () The server port. |
| Cuerda | getProtocol () The protocol to be used by this server. |
| com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
| En t | |
| En t | 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. |
| En t | hashCode () |
| booleano final | |
| estático ServerDef.Builder | newBuilder (prototipo ServerDef ) |
| estático ServerDef.Builder | newBuilder () |
| ServerDef.Builder | |
| ServerDef estático | parseDelimitedFrom (entrada InputStream) |
| ServerDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos ByteBuffer) |
| ServerDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| ServerDef estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos com.google.protobuf.ByteString) |
| ServerDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analizador () |
| ServerDef.Builder | toBuilder () |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
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
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 es igual a (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
.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
.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 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 ()
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 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
.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 parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
Public static ServerDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
Public static ServerDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
Public static ServerDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
ServerDef estático público parseFrom (datos de com.google.protobuf.ByteString)
Lanza
| InvalidProtocolBufferException |
|---|
Public static ServerDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
Public static ServerDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOException |
|---|