الفئة النهائية العامة الثابتة 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 | |
خيط | الحصول على الاسم العالمي () The global name of the threadpool. |
com.google.protobuf.ByteString | الحصول علىGlobalNameBytes () The global name of the threadpool. |
كثافة العمليات | الحصول على NumThreads () The number of threads in the pool. |
منطقية نهائية | تمت التهيئة () |
ThreadPoolOptionProto.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ThreadPoolOptionProto.Builder | دمج من (com.google.protobuf.Message أخرى) |
ThreadPoolOptionProto.Builder النهائي | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
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.UnknownFieldSet UnknownFields) |
الطرق الموروثة
الأساليب العامة
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 public 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;
تمت تهيئة القيمة المنطقية النهائية العامة ()
ThreadPoolOptionProto.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
العام النهائي ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)
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 العامة NumThreads (قيمة 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;