ThreadPoolOptionProto.Builder

공개 정적 최종 클래스 ThreadPoolOptionProto.Builder

Protobuf 유형 tensorflow.ThreadPoolOptionProto

공개 방법

ThreadPoolOptionProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
ThreadPoolOptionProto
짓다 ()
ThreadPoolOptionProto
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto.Builder
ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드)
ThreadPoolOptionProto.Builder
클리어글로벌이름 ()
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
클리어NumThreads ()
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ThreadPoolOptionProto.Builder
클론 ()
ThreadPoolOptionProto
최종 정적 com.google.protobuf.Descriptors.Descriptor
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.
최종 부울
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.다른 메시지 보내기)
최종 ThreadPoolOptionProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields)
ThreadPoolOptionProto.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
ThreadPoolOptionProto.Builder
setGlobalName (문자열 값)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setGlobalNameBytes (com.google.protobuf.ByteString 값)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setNumThreads (정수 값)
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
최종 ThreadPoolOptionProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

상속된 메서드

공개 방법

공개 ThreadPoolOptionProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공개 ThreadPoolOptionProto 빌드 ()

공개 ThreadPoolOptionProto 빌드Partial ()

공개 ThreadPoolOptionProto.Builder 지우기 ()

공개 ThreadPoolOptionProto.BuilderclearField (com.google.protobuf.Descriptors.FieldDescriptor 필드 )

공개 ThreadPoolOptionProto.Builder 클리어GlobalName ()

 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;

공개 ThreadPoolOptionProto.Builder ClearNumThreads ()

 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;

공개 ThreadPoolOptionProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

공개 ThreadPoolOptionProto getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

공개 최종 부울 isInitialized ()

공개 ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.다른 메시지)

공개 최종 ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

공개 ThreadPoolOptionProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공용 ThreadPoolOptionProto.Builder setGlobalName (문자열 값)

 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;

공개 ThreadPoolOptionProto.Builder setGlobalNameBytes (com.google.protobuf.ByteString 값)

 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;

공용 ThreadPoolOptionProto.Builder setNumThreads (int 값)

 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;

공개 ThreadPoolOptionProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)

공개 최종 ThreadPoolOptionProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)