공개 정적 최종 클래스 ServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef 공개 방법
| ServerDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
| 서버 정의 | 짓다 () |
| 서버 정의 | 빌드부분 () |
| ServerDef.Builder | 분명한 () |
| ServerDef.Builder | 클리어클러스터 () The cluster of which this server is a member. |
| ServerDef.Builder | ClearClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ServerDef.Builder | 클리어DefaultSessionConfig () The default configuration for sessions that run on this server. |
| ServerDef.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
| ServerDef.Builder | 클리어작업이름 () The name of the job of which this server is a member. |
| ServerDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| ServerDef.Builder | 클리어포트 () The server port. |
| ServerDef.Builder | 클리어프로토콜 () The protocol to be used by this server. |
| ServerDef.Builder | 클리어태스크인덱스 () The task index of this server in its job. |
| ServerDef.Builder | 클론 () |
| ClusterDef | getCluster () The cluster of which this server is a member. |
| ClusterDef.Builder | getClusterBuilder () The cluster of which this server is a member. |
| ClusterDevice필터 | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| ClusterDeviceFilters.Builder | getClusterDeviceFiltersBuilder () 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. |
| 서버 정의 | |
| 컨피그프로토 | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ConfigProto.Builder | getDefaultSessionConfigBuilder () 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 | |
| com.google.protobuf.Descriptors.Descriptor | |
| 끈 | 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. |
| 정수 | getPort () The server port. |
| 끈 | get프로토콜 () The protocol to be used by this server. |
| com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
| 정수 | getTaskIndex () The task index of this server in its job. |
| 부울 | 해클러스터 () The cluster of which this server is a member. |
| 부울 | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| 부울 | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
| 최종 부울 | 초기화됨 () |
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder | mergeDefaultSessionConfig ( ConfigProto 값) The default configuration for sessions that run on this server. |
| ServerDef.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
| ServerDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 최종 ServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
| ServerDef.Builder | |
| ServerDef.Builder | |
| ServerDef.Builder | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
| ServerDef.Builder | |
| ServerDef.Builder | setDefaultSessionConfig ( ConfigProto 값) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setDefaultSessionConfig ( ConfigProto.Builder builderForValue) The default configuration for sessions that run on this server. |
| ServerDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
| ServerDef.Builder | setJobName (문자열 값) The name of the job of which this server is a member. |
| ServerDef.Builder | setJobNameBytes (com.google.protobuf.ByteString 값) The name of the job of which this server is a member. |
| ServerDef.Builder | setPort (정수 값) The server port. |
| ServerDef.Builder | setProtocol (문자열 값) The protocol to be used by this server. |
| ServerDef.Builder | setProtocolBytes (com.google.protobuf.ByteString 값) The protocol to be used by this server. |
| ServerDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
| ServerDef.Builder | setTaskIndex (정수 값) The task index of this server in its job. |
| 최종 ServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
공개 ServerDef.Builder ClearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공개 ServerDef.Builder 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 ClearDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 ServerDef.Builder 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 클리어포트 ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; 공개 ServerDef.Builder 클리어프로토콜 ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; 공개 ServerDef.Builder 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; 공개 ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공개 ClusterDef.Builder getClusterBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공용 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; 공용 ClusterDeviceFilters.Builder 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 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; 공개 ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공개 ConfigProto getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 ConfigProto.Builder getDefaultSessionConfigBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 문자열 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; 공개 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 getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; 공개 문자열 getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; 공개 com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; 공개 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; 공개 부울 hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공개 부울 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; 공개 부울 hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 최종 부울 isInitialized ()
공용 ServerDef.Builder mergeCluster ( ClusterDef 값)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공용 ServerDef.Builder mergeClusterDeviceFilters ( 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 ( ConfigProto 값)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 ServerDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공용 ServerDef.Builder setCluster ( ClusterDef 값)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공용 ServerDef.Builder setCluster ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 공용 ServerDef.Builder setClusterDeviceFilters ( 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 ( 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 setDefaultSessionConfig ( ConfigProto 값)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공개 ServerDef.Builder setDefaultSessionConfig ( ConfigProto.Builder builderForValue)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; 공용 ServerDef.Builder setJobName (문자열 값)
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 setJobNameBytes (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 (int 값)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; 공용 ServerDef.Builder setProtocol (문자열 값)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; 공개 ServerDef.Builder setProtocolBytes (com.google.protobuf.ByteString 값)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; 공개 ServerDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 ServerDef.Builder setTaskIndex (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;