ThreadPoolOptionProto

clase final pública ThreadPoolOptionProto

Protobuf tipo tensorflow.ThreadPoolOptionProto

Clases anidadas

clase ThreadPoolOptionProto.Builder Protobuf tipo tensorflow.ThreadPoolOptionProto

Constantes

entero GLOBAL_NAME_FIELD_NUMBER
entero NUM_THREADS_FIELD_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
ThreadPoolOptionProto estático
ThreadPoolOptionProto
com.google.protobuf.Descriptors.Descriptor estático final
Cadena
obtenerNombreGlobal ()
 The global name of the threadpool.
com.google.protobuf.ByteString
getGlobalNameBytes ()
 The global name of the threadpool.
entero
obtenerNumThreads ()
 The number of threads in the pool.
entero
com.google.protobuf.UnknownFieldSet final
entero
booleano final
ThreadPoolOptionProto.Builder estático
ThreadPoolOptionProto.Builder estático
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto estático
parseDelimitedFrom (entrada de InputStream)
ThreadPoolOptionProto estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (datos de ByteBuffer)
ThreadPoolOptionProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
ThreadPoolOptionProto estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
ThreadPoolOptionProto estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (datos com.google.protobuf.ByteString)
ThreadPoolOptionProto estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
ThreadPoolOptionProto.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público GLOBAL_NAME_FIELD_NUMBER

Valor constante: 2

int final estático público NUM_THREADS_FIELD_NUMBER

Valor constante: 1

Métodos públicos

público booleano es igual (Objeto obj)

ThreadPoolOptionPro estático público para getDefaultInstance ()

público ThreadPoolOptionPro para getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

cadena pública 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;

público 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;

público 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;

público getParserForType ()

público int getSerializedSize ()

público final com.google.protobuf.UnknownFieldSet getUnknownFields ()

código hash int público ()

público final booleano isInitialized ()

público estático ThreadPoolOptionProto.Builder newBuilder (prototipo ThreadPoolOptionProto )

público estático ThreadPoolOptionProto.Builder newBuilder ()

público ThreadPoolOptionProto.Builder newBuilderForType ()

ThreadPoolOptionProto estático público parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

ThreadPoolOptionProto estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

ThreadPoolOptionProto estático público parseFrom (datos ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

ThreadPoolOptionProto estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

ThreadPoolOptionProto estático público parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

ThreadPoolOptionProto estático público parseFrom (entrada com.google.protobuf.CodedInputStream)

Lanza
IOExcepción

ThreadPoolOptionProto estático público parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

ThreadPoolOptionProto estático público parseFrom (datos com.google.protobuf.ByteString)

Lanza
Excepción de buffer de protocolo no válido

ThreadPoolOptionProto estático público parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

ThreadPoolOptionProto estático público parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

público ThreadPoolOptionProto.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción