kelas akhir publik ThreadPoolOptionProto
Tipe protobuf tensorflow.ThreadPoolOptionProto
Kelas Bersarang
kelas | ThreadPoolOptionProto.Builder | Tipe protobuf tensorflow.ThreadPoolOptionProto |
Konstanta
ke dalam | GLOBAL_NAME_FIELD_NUMBER | |
ke dalam | NUM_THREADS_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
ThreadPoolOptionProto statis | |
ThreadPoolOptionProto | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkan Nama Global () The global name of the threadpool. |
com.google.protobuf.ByteString | dapatkanGlobalNameBytes () The global name of the threadpool. |
ke dalam | dapatkanNumThreads () The number of threads in the pool. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
ThreadPoolOptionProto.Builder statis | newBuilder (prototipe ThreadPoolOptionProto ) |
ThreadPoolOptionProto.Builder statis | |
ThreadPoolOptionProto.Builder | |
ThreadPoolOptionProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
ThreadPoolOptionProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto statis | parseFrom (data ByteBuffer) |
ThreadPoolOptionProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
ThreadPoolOptionProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto statis | parseFrom (com.google.protobuf.ByteString data) |
ThreadPoolOptionProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
ThreadPoolOptionProto.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik GLOBAL_NAME_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik NUM_THREADS_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String publik 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;
publik 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 publik 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;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
ThreadPoolOptionProto statis publik untuk parseDelimitedFrom (input InputStream)
Melempar
Pengecualian IO |
---|
ThreadPoolOptionProto statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ThreadPoolOptionProto parseFrom statis publik (data ByteBuffer)
Melempar
InvalidProtocolBufferException |
---|
ThreadPoolOptionProto statis publik untuk parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ThreadPoolOptionProto parseFrom statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ThreadPoolOptionProto parseFrom statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
ThreadPoolOptionProto statis publik untuk parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ThreadPoolOptionProto parseFrom statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
ThreadPoolOptionProto parseFrom statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ThreadPoolOptionProto statis publik parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|