ThreadPoolOptionProto

публичный финальный класс ThreadPoolOptionProto

Тип protobuf tensorflow.ThreadPoolOptionProto

Вложенные классы

сорт ThreadPoolOptionProto.Builder Тип protobuf tensorflow.ThreadPoolOptionProto

Константы

интервал GLOBAL_NAME_FIELD_NUMBER
интервал NUM_THREADS_FIELD_NUMBER

Публичные методы

логическое значение
равно (Объект obj)
статический ThreadPoolOptionProto
ThreadPoolOptionProto
окончательный статический 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.
интервал
окончательный com.google.protobuf.UnknownFieldSet
интервал
последнее логическое значение
статический ThreadPoolOptionProto.Builder
newBuilder (прототип ThreadPoolOptionProto )
статический ThreadPoolOptionProto.Builder
ThreadPoolOptionProto.Builder
статический ThreadPoolOptionProto
parseDelimitedFrom (входной поток)
статический ThreadPoolOptionProto
parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический ThreadPoolOptionProto
parseFrom (данные ByteBuffer)
статический ThreadPoolOptionProto
parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический ThreadPoolOptionProto
parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический ThreadPoolOptionProto
parseFrom (вход com.google.protobuf.CodedInputStream)
статический ThreadPoolOptionProto
parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический ThreadPoolOptionProto
parseFrom (данные com.google.protobuf.ByteString)
статический ThreadPoolOptionProto
parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический ThreadPoolOptionProto
parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический
ThreadPoolOptionProto.Builder
пустота
writeTo (вывод com.google.protobuf.CodedOutputStream)

Унаследованные методы

Константы

общедоступный статический окончательный int GLOBAL_NAME_FIELD_NUMBER

Постоянное значение: 2

общедоступный статический окончательный int NUM_THREADS_FIELD_NUMBER

Постоянное значение: 1

Публичные методы

общедоступное логическое значение равно (Object obj)

общедоступный статический ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()

общедоступная строка 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;

общественный getParserForType ()

public int getSerializedSize ()

публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

публичное финальное логическое значение isInitialized ()

общедоступный статический ThreadPoolOptionProto.Builder newBuilder (прототип ThreadPoolOptionProto )

общедоступный статический ThreadPoolOptionProto.Builder newBuilder ()

общедоступный ThreadPoolOptionProto.Builder newBuilderForType ()

общедоступный статический ThreadPoolOptionProto parseDelimitedFrom (вход InputStream)

Броски
Исключение IO

общедоступный статический ThreadPoolOptionProto parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический ThreadPoolOptionProto parseFrom (данные ByteBuffer)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический анализ ThreadPoolOptionProto (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический ThreadPoolOptionProto parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический ThreadPoolOptionProto parseFrom (вход com.google.protobuf.CodedInputStream)

Броски
Исключение IO

общедоступный статический ThreadPoolOptionProto parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический ThreadPoolOptionProto parseFrom (данные com.google.protobuf.ByteString)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический ThreadPoolOptionProto parseFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический ThreadPoolOptionProto parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общественный статический парсер ()

общедоступный ThreadPoolOptionProto.Builder toBuilder ()

public void writeTo (вывод com.google.protobuf.CodedOutputStream)

Броски
Исключение IO