giao diện công cộng ServerDefOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công cộng
trừu tượng ClusterDef | getCluster () The cluster of which this server is a member. |
trừu tượng ClusterDeviceFilters | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
trừu tượng ClusterDeviceFiltersOrBuilder | getClusterDeviceFiltersOrBuilder () Device filters for remote tasks in the cluster. |
trừu tượng ClusterDefOrBuilder | getClusterOrBuilder () The cluster of which this server is a member. |
ConfigProto trừu tượng | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
trừu tượng ConfigProtoOrBuilder | getDefaultSessionConfigOrBuilder () The default configuration for sessions that run on this server. |
chuỗi trừu tượng | getJobName () The name of the job of which this server is a member. |
trừu tượng com.google.protobuf.ByteString | getJobNameBytes () The name of the job of which this server is a member. |
int trừu tượng | getPort () The server port. |
chuỗi trừu tượng | getProtocol () The protocol to be used by this server. |
trừu tượng com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
int trừu tượng | getTaskIndex () The task index of this server in its job. |
trừu tượng boolean | hasCluster () The cluster of which this server is a member. |
trừu tượng boolean | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
trừu tượng boolean | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
Phương pháp công cộng
Tóm tắt công khai ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
tóm tắt công khai 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;
tóm tắt công khai 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;
tóm tắt công khai ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
tóm tắt công khai ConfigProto getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
tóm tắt công khai ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
Chuỗi tóm tắt công khai 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;
tóm tắt công khai 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;
tóm tắt công khai int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
Chuỗi tóm tắt công khai getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
tóm tắt công khai com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
tóm tắt công khai 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;
boolean trừu tượng công khai hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
boolean trừu tượng công khai 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 trừu tượng công khai hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;