ServerDef kelas akhir publik
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Kelas Bersarang
| kelas | ServerDef.Builder | Defines the configuration of a single TensorFlow server.  | |
Konstanta
| ke dalam | CLUSTER_DEVICE_FILTERS_FIELD_NUMBER | |
| ke dalam | CLUSTER_FIELD_NUMBER | |
| ke dalam | DEFAULT_SESSION_CONFIG_FIELD_NUMBER | |
| ke dalam | JOB_NAME_FIELD_NUMBER | |
| ke dalam | PORT_FIELD_NUMBER | |
| ke dalam | PROTOCOL_FIELD_NUMBER | |
| ke dalam | TASK_INDEX_FIELD_NUMBER | 
Metode Publik
| boolean |  sama dengan (Objek objek)  | 
| ClusterDef |  dapatkanCluster ()  The cluster of which this server is a member.  | 
| Filter Perangkat Cluster |  dapatkanClusterDeviceFilters ()  Device filters for remote tasks in the cluster.  | 
| ClusterDeviceFiltersOrBuilder |  dapatkanClusterDeviceFiltersOrBuilder ()  Device filters for remote tasks in the cluster.  | 
| ClusterDefOrBuilder |  dapatkanClusterOrBuilder ()  The cluster of which this server is a member.  | 
| ServerDef statis | |
| ServerDef | |
| KonfigurasiProto |  dapatkanDefaultSessionConfig ()  The default configuration for sessions that run on this server.  | 
| KonfigurasiProtoOrBuilder |  getDefaultSessionConfigOrBuilder ()  The default configuration for sessions that run on this server.  | 
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| Rangkaian |  dapatkan Nama Pekerjaan ()  The name of the job of which this server is a member.  | 
| com.google.protobuf.ByteString |  dapatkanJobNameBytes ()  The name of the job of which this server is a member.  | 
| ke dalam |  dapatkanPort ()  The server port.  | 
| Rangkaian |  dapatkanProtokol ()  The protocol to be used by this server.  | 
| com.google.protobuf.ByteString |  dapatkanProtocolBytes ()  The protocol to be used by this server.  | 
| ke dalam | |
| ke dalam |  dapatkan Indeks Tugas ()  The task index of this server in its job.  | 
| final com.google.protobuf.UnknownFieldSet | |
| boolean |  memilikiCluster ()  The cluster of which this server is a member.  | 
| boolean |  hasClusterDeviceFilters ()  Device filters for remote tasks in the cluster.  | 
| boolean |  hasDefaultSessionConfig ()  The default configuration for sessions that run on this server.  | 
| ke dalam |  Kode hash ()  | 
| boolean terakhir | |
| ServerDef.Builder statis |  newBuilder (prototipe ServerDef )  | 
| ServerDef.Builder statis | |
| ServerDef.Builder | |
| ServerDef statis |  parseDelimitedFrom (masukan Aliran Masukan)  | 
| ServerDef statis |  parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
| ServerDef statis |  parseFrom (data ByteBuffer)  | 
| ServerDef statis |  parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
| ServerDef statis |  parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
| ServerDef statis |  parseFrom (com.google.protobuf.CodedInputStream masukan)  | 
| ServerDef statis |  parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
| ServerDef statis |  parseFrom (com.google.protobuf.ByteString data)  | 
| ServerDef statis |  parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
| ServerDef statis |  parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
|  statis |  pengurai ()  | 
| ServerDef.Builder | |
| ruang kosong |  writeTo (com.google.protobuf.CodedOutputStream keluaran)   | 
Metode Warisan
Konstanta
int akhir statis publik CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
 Nilai Konstan: 7 
int final statis publik CLUSTER_FIELD_NUMBER
 Nilai Konstan: 1 
int final statis publik DEFAULT_SESSION_CONFIG_FIELD_NUMBER
 Nilai Konstan: 4 
int final statis publik JOB_NAME_FIELD_NUMBER
 Nilai Konstan: 2 
int akhir statis publik PORT_FIELD_NUMBER
 Nilai Konstan: 6 
int final statis publik PROTOCOL_FIELD_NUMBER
 Nilai Konstan: 5 
int akhir statis publik TASK_INDEX_FIELD_NUMBER
 Nilai Konstan: 3 
Metode Publik
boolean publik sama (Obj objek)
getCluster ClusterDef publik ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ClusterDeviceFilters publik 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; ClusterDeviceFiltersOrBuilder publik 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; publik ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ConfigProto publik getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ConfigProtoOrBuilder publik 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 ()
String publik 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; publik 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;  publik  dapatkanParserForType () 
int publik getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; String publik getProtokol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; publik com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; publik int getSerializedSize ()
int publik 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 ()
hasCluster boolean publik ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; boolean publik 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; boolean publik hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom ServerDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO | 
|---|
parseFrom ServerDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO | 
|---|
parseFrom ServerDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException | 
|---|
parseFrom ServerDef statis publik (com.google.protobuf.CodedInputStream input)
Melempar
| Pengecualian IO | 
|---|
parseFrom ServerDef statis publik (data byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException | 
|---|
parseFrom ServerDef statis publik (com.google.protobuf.ByteString data)
Melempar
| InvalidProtocolBufferException | 
|---|
parseFrom ServerDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO | 
|---|
parseFrom ServerDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException | 
|---|
 statis publik  pengurai () 
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
| Pengecualian IO | 
|---|