ThreadPoolOptionProto.Builder

کلاس نهایی استاتیک عمومی ThreadPoolOptionProto.Builder

نوع Protobuf tensorflow.ThreadPoolOptionProto

روش های عمومی

ThreadPoolOptionProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
ThreadPoolOptionProto
ThreadPoolOptionProto
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto.Builder
clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor)
ThreadPoolOptionProto.Builder
clearGlobalName ()
 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
نهایی static 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.Message other)
ThreadPoolOptionProto.Builder نهایی
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
ThreadPoolOptionProto.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
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، مقدار Object)
ThreadPoolOptionProto.Builder نهایی
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

روش های ارثی

روش های عمومی

عمومی ThreadPoolOptionProto.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)

ساخت عمومی ThreadPoolOptionProto ()

عمومی ThreadPoolOptionProto buildPartial ()

عمومی ThreadPoolOptionProto.Builder پاک ()

عمومی 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)

کلون عمومی ThreadPoolOptionProto.Builder ()

عمومی ThreadPoolOptionProto getDefaultInstanceForType ()

public static final 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)

پرتاب می کند
IOException

عمومی ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.Message other)

عمومی نهایی ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public ThreadPoolOptionProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

عمومی 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، مقدار Object)

نهایی عمومی ThreadPoolOptionProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)