공개 최종 클래스 ThreadPoolOptionProto
Protobuf 유형 tensorflow.ThreadPoolOptionProto
중첩 클래스
수업 | ThreadPoolOptionProto.Builder | Protobuf 유형 tensorflow.ThreadPoolOptionProto |
상수
정수 | GLOBAL_NAME_FIELD_NUMBER | |
정수 | NUM_THREADS_FIELD_NUMBER |
공개 방법
부울 | 같음 (객체 객체) |
정적 ThreadPoolOptionProto | |
ThreadPoolOptionProto | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
끈 | getGlobalName () The global name of the threadpool. |
com.google.protobuf.ByteString | getGlobalNameBytes () The global name of the threadpool. |
정수 | getNumThreads () The number of threads in the pool. |
정수 | |
최종 com.google.protobuf.UnknownFieldSet | |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 ThreadPoolOptionProto.Builder | newBuilder ( ThreadPoolOptionProto 프로토타입) |
정적 ThreadPoolOptionProto.Builder | 새로운 빌더 () |
ThreadPoolOptionProto.Builder | |
정적 ThreadPoolOptionProto | parsDelimitedFrom (InputStream 입력) |
정적 ThreadPoolOptionProto | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ThreadPoolOptionProto | parsFrom (ByteBuffer 데이터) |
정적 ThreadPoolOptionProto | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ThreadPoolOptionProto | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ThreadPoolOptionProto | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
정적 ThreadPoolOptionProto | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
정적 ThreadPoolOptionProto | ParseFrom (com.google.protobuf.ByteString 데이터) |
정적 ThreadPoolOptionProto | ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ThreadPoolOptionProto | ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
공전 | 파서 () |
ThreadPoolOptionProto.Builder | toBuilder () |
무효의 | writeTo (com.google.protobuf.CodedOutputStream 출력) |
상속된 메서드
상수
공개 정적 최종 int GLOBAL_NAME_FIELD_NUMBER
상수값: 2
공개 정적 최종 정수 NUM_THREADS_FIELD_NUMBER
상수값: 1
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 문자열 getGlobalName ()
The global name of the threadpool. If empty, then the threadpool is made and used according to the scope it's in - e.g., for a session threadpool, it is used by that session only. If non-empty, then: - a global threadpool associated with this name is looked up or created. This allows, for example, sharing one threadpool across many sessions (e.g., like the default behavior, if inter_op_parallelism_threads is not configured), but still partitioning into a large and small pool. - if the threadpool for this global_name already exists, then it is an error if the existing pool was created using a different num_threads value as is specified on this call. - threadpools created this way are never garbage collected.
string global_name = 2;
공개 com.google.protobuf.ByteString getGlobalNameBytes ()
The global name of the threadpool. If empty, then the threadpool is made and used according to the scope it's in - e.g., for a session threadpool, it is used by that session only. If non-empty, then: - a global threadpool associated with this name is looked up or created. This allows, for example, sharing one threadpool across many sessions (e.g., like the default behavior, if inter_op_parallelism_threads is not configured), but still partitioning into a large and small pool. - if the threadpool for this global_name already exists, then it is an error if the existing pool was created using a different num_threads value as is specified on this call. - threadpools created this way are never garbage collected.
string global_name = 2;
공개 int getNumThreads ()
The number of threads in the pool. 0 means the system picks a value based on where this option proto is used (see the declaration of the specific field for more info).
int32 num_threads = 1;
공공의 getParserForType ()
공개 int getSerializedSize ()
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 ThreadPoolOptionProto parsDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ThreadPoolOptionProto parsingFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ThreadPoolOptionProto 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ThreadPoolOptionProto 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ThreadPoolOptionProto 구문 분석 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ThreadPoolOptionProto 구문 분석 (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|