ServerDef

공개 최종 클래스 ServerDef

 Defines the configuration of a single TensorFlow server.
 
Protobuf 유형 tensorflow.ServerDef

중첩 클래스

수업 ServerDef.Builder
 Defines the configuration of a single TensorFlow server. 

상수

정수 CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
정수 CLUSTER_FIELD_NUMBER
정수 DEFAULT_SESSION_CONFIG_FIELD_NUMBER
정수 JOB_NAME_FIELD_NUMBER
정수 PORT_FIELD_NUMBER
정수 PROTOCOL_FIELD_NUMBER
정수 TASK_INDEX_FIELD_NUMBER

공개 방법

부울
같음 (객체 객체)
ClusterDef
getCluster ()
 The cluster of which this server is a member.
ClusterDevice필터
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
서버 정의
컨피그프로토
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
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.
최종 com.google.protobuf.UnknownFieldSet
부울
해클러스터 ()
 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
newBuilder ( ServerDef 프로토타입)
정적 ServerDef.Builder
ServerDef.Builder
정적 ServerDef
parsDelimitedFrom (InputStream 입력)
정적 ServerDef
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 ServerDef
parsFrom (ByteBuffer 데이터)
정적 ServerDef
ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 ServerDef
ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 ServerDef
ParseFrom (com.google.protobuf.CodedInputStream 입력)
정적 ServerDef
parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry)
정적 ServerDef
ParseFrom (com.google.protobuf.ByteString 데이터)
정적 ServerDef
ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 ServerDef
ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
공전
파서 ()
ServerDef.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER

상수값: 7

공개 정적 최종 int CLUSTER_FIELD_NUMBER

상수값: 1

공개 정적 최종 int DEFAULT_SESSION_CONFIG_FIELD_NUMBER

상수값: 4

공개 정적 최종 int JOB_NAME_FIELD_NUMBER

상수값: 2

공개 정적 최종 int PORT_FIELD_NUMBER

상수값: 6

공개 정적 최종 int PROTOCOL_FIELD_NUMBER

상수값: 5

공개 정적 최종 int TASK_INDEX_FIELD_NUMBER

상수값: 3

공개 방법

공개 부울은 (객체 obj) 와 같습니다 .

공개 ClusterDef getCluster ()

 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;

공개 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;

공개 정적 ServerDef getDefaultInstance ()

공개 ServerDef getDefaultInstanceForType ()

공개 ConfigProto getDefaultSessionConfig ()

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

공개 문자열 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;

공공의 getParserForType ()

공개 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 getSerializedSize ()

공개 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;

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 부울 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;

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 ServerDef.Builder newBuilder ( ServerDef 프로토타입)

공개 정적 ServerDef.Builder newBuilder ()

공개 ServerDef.Builder newBuilderForType ()

공개 정적 ServerDef parseDelimitedFrom (InputStream 입력)

던지기
IO예외

공개 정적 ServerDefparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 ServerDef 구문 분석 (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 ServerDef 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
IO예외

공개 정적 ServerDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 ServerDef 구문 분석 (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 ServerDef 구문 분석 (바이트[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
잘못된프로토콜버퍼예외

공개 정적 ServerDef 구문 분석 (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 ServerDef 구문 분석 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 ServerDef ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 ServerDef.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외