ThreadPoolOptionProto

classe final pública ThreadPoolOptionProto

Tipo de protobuf tensorflow.ThreadPoolOptionProto

Classes aninhadas

aula ThreadPoolOptionProto.Builder Tipo de protobuf tensorflow.ThreadPoolOptionProto

Constantes

interno GLOBAL_NAME_FIELD_NUMBER
interno NUM_THREADS_FIELD_NUMBER

Métodos Públicos

boleano
é igual (objeto obj)
ThreadPoolOptionProto estático
ThreadPoolOptionProto
final estático com.google.protobuf.Descriptors.Descriptor
Corda
getGlobalName ()
 The global name of the threadpool.
com.google.protobuf.ByteString
getGlobalNameBytes ()
 The global name of the threadpool.
interno
getNumThreads ()
 The number of threads in the pool.
interno
final com.google.protobuf.UnknownFieldSet
interno
booleano final
ThreadPoolOptionProto.Builder estático
ThreadPoolOptionProto.Builder estático
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto estático
parseDelimitedFrom (entrada InputStream)
ThreadPoolOptionProto estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (dados de ByteBuffer)
ThreadPoolOptionProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
ThreadPoolOptionProto estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (dados com.google.protobuf.ByteString)
ThreadPoolOptionProto estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
ThreadPoolOptionProto.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int GLOBAL_NAME_FIELD_NUMBER

Valor Constante: 2

int final estático público NUM_THREADS_FIELD_NUMBER

Valor Constante: 1

Métodos Públicos

booleano público é igual (Object obj)

público estático ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

String 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 ()

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

hashCode int público ()

público final booleano isInitialized ()

public static ThreadPoolOptionProto.Builder newBuilder ( protótipo ThreadPoolOptionProto )

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

public ThreadPoolOptionProto.Builder newBuilderForType ()

public static ThreadPoolOptionProto parseDelimitedFrom (entrada InputStream)

Lança
IOException

public static ThreadPoolOptionProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

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

Lança
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ThreadPoolOptionProto parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

public static ThreadPoolOptionProto parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

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

Lança
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ThreadPoolOptionProto parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public ThreadPoolOptionProto.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException