kelas akhir statis publik ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Metode Publik
| ServerDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
| ServerDef | membangun () |
| ServerDef | |
| ServerDef.Builder | jernih () |
| ServerDef.Builder | hapusCluster () The cluster of which this server is a member. |
| ServerDef.Builder | hapusClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ServerDef.Builder | clearDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ServerDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
| ServerDef.Builder | jelasNamaPekerjaan () The name of the job of which this server is a member. |
| ServerDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| ServerDef.Builder | bersihkanPort () The server port. |
| ServerDef.Builder | jelasProtokol () The protocol to be used by this server. |
| ServerDef.Builder | jelasTaskIndex () The task index of this server in its job. |
| ServerDef.Builder | klon () |
| ClusterDef | dapatkanCluster () The cluster of which this server is a member. |
| ClusterDef.Pembangun | dapatkanClusterBuilder () The cluster of which this server is a member. |
| Filter Perangkat Cluster | dapatkanClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ClusterDeviceFilters.Builder | getClusterDeviceFiltersBuilder () 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 | |
| KonfigurasiProto | dapatkanDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ConfigProto.Builder | getDefaultSessionConfigBuilder () 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 | |
| com.google.protobuf.Descriptors.Descriptor | |
| 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 | dapatkan Indeks Tugas () The task index of this server in its job. |
| 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. |
| boolean terakhir | |
| ServerDef.Builder | |
| ServerDef.Builder | mergeClusterDeviceFilters (nilai ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | mergeDefaultSessionConfig (nilai ConfigProto ) The default configuration for sessions that run on this server. |
| ServerDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
| ServerDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Pembuat pembangunForValue) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setClusterDeviceFilters (nilai ClusterDeviceFilters ) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | setDefaultSessionConfig (nilai ConfigProto ) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setDefaultSessionConfig ( ConfigProto.Pembuat pembangunForValue) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
| ServerDef.Builder | setJobName (Nilai string) The name of the job of which this server is a member. |
| ServerDef.Builder | setJobNameBytes (nilai com.google.protobuf.ByteString) The name of the job of which this server is a member. |
| ServerDef.Builder | setPort (nilai int) The server port. |
| ServerDef.Builder | setProtocol (Nilai string) The protocol to be used by this server. |
| ServerDef.Builder | setProtocolBytes (nilai com.google.protobuf.ByteString) The protocol to be used by this server. |
| ServerDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
| ServerDef.Builder | setTaskIndex (nilai int) The task index of this server in its job. |
| ServerDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public ServerDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ServerDef.Builder publik clearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ServerDef.Builder publik clearClusterDeviceFilters ()
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; ServerDef.Builder publik clearDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ServerDef.Builder publik clearJobName ()
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; ServerDef.Builder publik clearPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; ServerDef.Builder publik clearProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; ServerDef.Builder publik clearTaskIndex ()
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; getCluster ClusterDef publik ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ClusterDef.Builder publik getClusterBuilder ()
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; ClusterDeviceFilters.Builder publik getClusterDeviceFiltersBuilder ()
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; ConfigProto.Builder publik getDefaultSessionConfigBuilder ()
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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
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; 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; 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; 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; boolean akhir publik diinisialisasi ()
ServerDef.Builder mergeCluster publik (nilai ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ServerDef.Builder mergeClusterDeviceFilters publik (nilai ClusterDeviceFilters )
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; ServerDef.Builder mergeDefaultSessionConfig publik (nilai ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
ServerDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
ServerDef.Builder setCluster publik (nilai ClusterDef )
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ServerDef.Builder setCluster publik ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ServerDef.Builder setClusterDeviceFilters publik ( ClusterDeviceFilters.Builder builderForValue)
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; ServerDef.Builder setClusterDeviceFilters publik (nilai ClusterDeviceFilters )
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;ServerDef.Builder publik setDefaultSessionConfig (nilai ConfigProto )
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ServerDef.Builder publik setDefaultSessionConfig ( ConfigProto.Builder builderForValue)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; public ServerDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ServerDef.Builder publik setJobName (Nilai string)
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; ServerDef.Builder publik setJobNameBytes (nilai com.google.protobuf.ByteString)
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; ServerDef.Builder setPort publik (nilai int)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; public ServerDef.Builder setProtocol (Nilai string)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; ServerDef.Builder setProtocolBytes publik (nilai com.google.protobuf.ByteString)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; public ServerDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
ServerDef.Builder publik setTaskIndex (nilai int)
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;