ServerDef

classe finale pubblica ServerDef

 Defines the configuration of a single TensorFlow server.
 
Tipo di protocollo tensorflow.ServerDef

Classi nidificate

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

Costanti

int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
int CLUSTER_FIELD_NUMBER
int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
int LAVORO_NAME_FIELD_NUMBER
int PORT_FIELD_NUMBER
int PROTOCOL_FIELD_NUMBER
int TASK_INDEX_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
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 statico
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 statico finale
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
int
getTaskIndex ()
 The task index of this server in its job.
finale 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.
int
booleano finale
ServerDef.Builder statico
newBuilder (prototipo ServerDef )
ServerDef.Builder statico
ServerDef.Builder
ServerDef statico
parseDelimitedFrom (input InputStream)
ServerDef statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServerDef statico
parseFrom (dati ByteBuffer)
ServerDef statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
ServerDef statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServerDef statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
ServerDef statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServerDef statico
parseFrom (dati com.google.protobuf.ByteString)
ServerDef statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServerDef statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
ServerDef.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER

Valore costante: 7

public static final int CLUSTER_FIELD_NUMBER

Valore costante: 1

public static final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER

Valore costante: 4

pubblico statico finale int JOB_NAME_FIELD_NUMBER

Valore costante: 2

public static final int PORT_FIELD_NUMBER

Valore costante: 6

public static final int PROTOCOL_FIELD_NUMBER

Valore costante: 5

public static final int TASK_INDEX_FIELD_NUMBER

Valore costante: 3

Metodi pubblici

booleano pubblico è uguale a (Oggetto 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;

pubblico statico 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 ()

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;

pubblico 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 ()

string protocol = 5;

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

pubblico com.google.protobuf.ByteString getProtocolBytes ()

string protocol = 5;

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
= 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;

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

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 int hashCode ()

public final booleano isInitialized ()

pubblico statico ServerDef.Builder newBuilder (prototipo ServerDef )

pubblico statico ServerDef.Builder newBuilder ()

pubblico ServerDef.Builder newBuilderForType ()

pubblico statico ServerDef parseDelimitedFrom (input InputStream)

Lancia
IOException

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

Lancia
IOException

parseFrom ServerDef statico pubblico (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ServerDef (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico ServerDef (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ServerDef (input com.google.protobuf.CodedInputStream)

Lancia
IOException

parseFrom pubblico statico ServerDef (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ServerDef (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ServerDef (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico ServerDef (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico ServerDef.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException