genel son sınıf ThreadPoolOptionProto
Protobuf türü tensorflow.ThreadPoolOptionProto
İç İçe Sınıflar
sınıf | ThreadPoolOptionProto.Builder | Protobuf türü tensorflow.ThreadPoolOptionProto |
Sabitler
int | GLOBAL_NAME_FIELD_NUMBER | |
int | NUM_THREADS_FIELD_NUMBER |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik ThreadPoolOptionProto | |
ThreadPoolOptionProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
Sicim | getGlobalName () The global name of the threadpool. |
com.google.protobuf.ByteString | getGlobalNameBytes () The global name of the threadpool. |
int | getNumThreads () The number of threads in the pool. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik ThreadPoolOptionProto.Builder | newBuilder ( ThreadPoolOptionProto prototipi) |
statik ThreadPoolOptionProto.Builder | yeniİnşaatçı () |
ThreadPoolOptionProto.Builder | |
statik ThreadPoolOptionProto | parseDelimitedFrom (InputStream girişi) |
statik ThreadPoolOptionProto | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ThreadPoolOptionProto | parseFrom (ByteBuffer verileri) |
statik ThreadPoolOptionProto | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ThreadPoolOptionProto | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ThreadPoolOptionProto | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik ThreadPoolOptionProto | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ThreadPoolOptionProto | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik ThreadPoolOptionProto | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ThreadPoolOptionProto | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
ThreadPoolOptionProto.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int GLOBAL_NAME_FIELD_NUMBER
Sabit Değer: 2
genel statik final int NUM_THREADS_FIELD_NUMBER
Sabit Değer: 1
Genel Yöntemler
genel boole eşittir (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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;
public 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;
public 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;
halk getParserForType ()
public int getSerializedSize ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel int hashCode ()
genel final boolean isInitialized ()
public static ThreadPoolOptionProto parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik ThreadPoolOptionProto parseFrom (ByteBuffer verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ThreadPoolOptionProto parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik ThreadPoolOptionProto parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ThreadPoolOptionProto parseFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IO İstisnası |
---|
genel statik ThreadPoolOptionProto parseFrom (bayt[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static ThreadPoolOptionProto parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IO İstisnası |
---|