ThreadPoolOptionProto

کلاس نهایی عمومی ThreadPoolOptionProto

نوع Protobuf tensorflow.ThreadPoolOptionProto

کلاس های تو در تو

کلاس ThreadPoolOptionProto.Builder نوع Protobuf tensorflow.ThreadPoolOptionProto

ثابت ها

بین المللی GLOBAL_NAME_FIELD_NUMBER
بین المللی NUM_THREADS_FIELD_NUMBER

روش های عمومی

بولی
برابر است (object obj)
استاتیک ThreadPoolOptionProto
ThreadPoolOptionProto
نهایی static 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
parseDelimitedFrom (ورودی جریان ورودی)
استاتیک ThreadPoolOptionProto
parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک ThreadPoolOptionProto
parseFrom (داده های 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 (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک 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
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

نهایی استاتیک عمومی GLOBAL_NAME_FIELD_NUMBER

مقدار ثابت: 2

نهایی استاتیک عمومی NUM_THREADS_FIELD_NUMBER

ارزش ثابت: 1

روش های عمومی

بولین عمومی برابر است (Object Obj)

عمومی استاتیک ThreadPoolOptionProto getDefaultInstance ()

عمومی ThreadPoolOptionProto getDefaultInstanceForType ()

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

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

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

عمومی استاتیک ThreadPoolOptionProto.Builder newBuilder ()

عمومی ThreadPoolOptionProto.Builder newBuilderForType ()

عمومی ثابت ThreadPoolOptionProto parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی ثابت ThreadPoolOptionProto parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی ثابت ThreadPoolOptionProto parseFrom (داده بایت بافر)

پرتاب می کند
InvalidProtocolBufferException

عمومی ثابت ThreadPoolOptionProto parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی ثابت ThreadPoolOptionProto parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی ثابت ThreadPoolOptionProto parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی ثابت ThreadPoolOptionProto parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی ثابت ThreadPoolOptionProto parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی ثابت ThreadPoolOptionProto parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی ثابت ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی ThreadPoolOptionProto.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException