genel statik son sınıf ThreadPoolOptionProto.Builder
Protobuf türü tensorflow.ThreadPoolOptionProto
Genel Yöntemler
ThreadPoolOptionProto.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ThreadPoolOptionProto | inşa etmek () |
ThreadPoolOptionProto | inşaKısmi () |
ThreadPoolOptionProto.Builder | temizlemek () |
ThreadPoolOptionProto.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
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 | klon () |
ThreadPoolOptionProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
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. |
son boole değeri | Başlatıldı () |
ThreadPoolOptionProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreadPoolOptionProto.Builder | mergeFrom (com.google.protobuf.Message other) |
son ThreadPoolOptionProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
ThreadPoolOptionProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ThreadPoolOptionProto.Builder | setGlobalName (Dize değeri) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setGlobalNameBytes (com.google.protobuf.ByteString değeri) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setNumThreads (int değeri) The number of threads in the pool. |
ThreadPoolOptionProto.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son ThreadPoolOptionProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public ThreadPoolOptionProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
herkese açık ThreadPoolOptionProto.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı)
public 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;
genel 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;
herkese açık ThreadPoolOptionProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
genel final boolean isInitialized ()
genel ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ThreadPoolOptionProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public ThreadPoolOptionProto.Builder setGlobalName (Dize değeri)
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 ThreadPoolOptionProto.Builder setGlobalNameBytes (com.google.protobuf.ByteString değeri)
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 ThreadPoolOptionProto.Builder setNumThreads (int değeri)
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;