общедоступный статический конечный класс ThreadPoolOptionProto.Builder
Тип protobuf tensorflow.ThreadPoolOptionProto
Публичные методы
ThreadPoolOptionProto.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ThreadPoolOptionProto | строить () |
ThreadPoolOptionProto | |
ThreadPoolOptionProto.Builder | прозрачный () |
ThreadPoolOptionProto.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
ThreadPoolOptionProto.Builder | ОчиститьГлобальноеИмя () The global name of the threadpool. |
ThreadPoolOptionProto.Builder | очиститьнумтреадс () The number of threads in the pool. |
ThreadPoolOptionProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ThreadPoolOptionProto.Builder | клон () |
ThreadPoolOptionProto | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Нить | получитьГлобальноеИмя () 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. |
последнее логическое значение | |
ThreadPoolOptionProto.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ThreadPoolOptionProto.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный ThreadPoolOptionProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ThreadPoolOptionProto.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ThreadPoolOptionProto.Builder | setGlobalName (строковое значение) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setGlobalNameBytes (значение com.google.protobuf.ByteString) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setNumThreads (целое значение) The number of threads in the pool. |
ThreadPoolOptionProto.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный ThreadPoolOptionProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public ThreadPoolOptionProto.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ThreadPoolOptionProto.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
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;
общедоступный 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;
общедоступный ThreadPoolOptionProto.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступная строка 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;
публичное окончательное логическое значение isInitialized ()
public ThreadPoolOptionProto.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ThreadPoolOptionProto.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ThreadPoolOptionProto.Builder setGlobalName (строковое значение)
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)
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 (целое значение)
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;