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 | clearNumThreads () 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 | รับ GlobalNameBytes () 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.Message อื่น ๆ ) |
ThreadPoolOptionProto.Builder สุดท้าย | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
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 (ค่า int) The number of threads in the pool. |
ThreadPoolOptionProto.Builder | setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์) |
ThreadPoolOptionProto.Builder สุดท้าย | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
วิธีการสืบทอด
วิธีการสาธารณะ
ThreadPoolOptionProto.Builder สาธารณะ addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
ThreadPoolOptionProto.Builder clearField สาธารณะ (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor)
ThreadPoolOptionProto.Builder สาธารณะ clearGlobalName ()
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)
สาธารณะคงที่สุดท้าย 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 สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
ThreadPoolOptionProto.Builder สาธารณะขั้นสุดท้าย ผสาน UnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
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;