classe finale publique ServerDef
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef de type Protobuf.ServerDef Classes imbriquées
| classe | ServerDef.Builder | Defines the configuration of a single TensorFlow server. | |
Constantes
Méthodes publiques
| booléen | est égal à (Obj objet) |
| ClusterDef | obtenirCluster () 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. |
| ServeurDef statique | |
| ServeurDef | |
| 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 statique com.google.protobuf.Descriptors.Descriptor | |
| Chaîne | 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 | obtenirPort () The server port. |
| Chaîne | getProtocole () 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 | |
| booléen | aCluster () The cluster of which this server is a member. |
| booléen | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| booléen | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
| int | |
| booléen final | |
| ServerDef.Builder statique | newBuilder (prototype ServerDef ) |
| ServerDef.Builder statique | |
| ServerDef.Builder | |
| ServeurDef statique | parseDelimitedFrom (entrée InputStream) |
| ServeurDef statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServeurDef statique | parseFrom (données ByteBuffer) |
| ServeurDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServeurDef statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServeurDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
| ServeurDef statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServeurDef statique | parseFrom (données com.google.protobuf.ByteString) |
| ServeurDef statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServeurDef statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statique | analyseur () |
| ServerDef.Builder | toBuilder () |
| vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
Valeur constante : 7
public statique final int CLUSTER_FIELD_NUMBER
Valeur constante : 1
public statique final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
Valeur constante : 4
public statique final int JOB_NAME_FIELD_NUMBER
Valeur constante : 2
public statique final int PORT_FIELD_NUMBER
Valeur constante : 6
public statique final int PROTOCOL_FIELD_NUMBER
Valeur constante : 5
public statique final entier TASK_INDEX_FIELD_NUMBER
Valeur constante : 3
Méthodes publiques
public booléen égal (Objet 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 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique 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; publique getParserForType ()
public int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; chaîne publique 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 booléen hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; public booléen 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 booléen hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; code de hachage int public ()
public final booléen isInitialized ()
public statique ServerDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique ServerDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique ServerDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique ServerDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique ServerDef parseFrom (données com.google.protobuf.ByteString)
Jetés
| InvalidProtocolBufferException |
|---|
public statique ServerDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique ServerDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
| IOException |
|---|