lớp cuối cùng tĩnh công khai ThreadPoolOptionProto.Builder
Protobuf loại tensorflow.ThreadPoolOptionProto
Phương pháp công khai
ThreadPoolOptionProto.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ThreadPoolOptionProto | xây dựng () |
ThreadPoolOptionProto | |
ThreadPoolOptionProto.Builder | thông thoáng () |
ThreadPoolOptionProto.Builder | ClearField (trường 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 | dòng vô tính () |
ThreadPoolOptionProto | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | 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. |
boolean cuối cùng | |
ThreadPoolOptionProto.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ThreadPoolOptionProto.Builder | mergeFrom (com.google.protobuf.Message other) |
ThreadPoolOptionProto.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ThreadPoolOptionProto.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ThreadPoolOptionProto.Builder | setGlobalName (Giá trị chuỗi) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setGlobalNameBytes (giá trị com.google.protobuf.ByteString) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setNumThreads (giá trị int) The number of threads in the pool. |
ThreadPoolOptionProto.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
ThreadPoolOptionProto.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
public ThreadPoolOptionProto.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public ThreadPoolOptionProto.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
công khai 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;
public 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;
public ThreadPoolOptionProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai 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 công khai ()
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 công khai 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;
boolean cuối cùng công khai được khởi tạo ()
công khai ThreadPoolOptionProto.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public ThreadPoolOptionProto.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public ThreadPoolOptionProto.Builder setGlobalName (Giá trị chuỗi)
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 (giá trị 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;
public ThreadPoolOptionProto.Builder setNumThreads (giá trị 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;