ThreadPoolOptionProto

public final class ThreadPoolOptionProto

tensorflow.ThreadPoolOptionProto type tensorflow.ThreadPoolOptionProto

Classes aninhadas

aula ThreadPoolOptionProto.Builder tensorflow.ThreadPoolOptionProto type tensorflow.ThreadPoolOptionProto

Constantes

int GLOBAL_NAME_FIELD_NUMBER
int NUM_THREADS_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
static ThreadPoolOptionProto
ThreadPoolOptionProto
final static com.google.protobuf.Descriptors.Descriptor
Fragmento
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.
int
final com.google.protobuf.UnknownFieldSet
int
final booleano
static ThreadPoolOptionProto.Builder
static ThreadPoolOptionProto.Builder
ThreadPoolOptionProto.Builder
static ThreadPoolOptionProto
parseDelimitedFrom (input InputStream)
static ThreadPoolOptionProto
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ThreadPoolOptionProto
parseFrom (dados ByteBuffer)
static ThreadPoolOptionProto
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ThreadPoolOptionProto
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ThreadPoolOptionProto
parseFrom (com.google.protobuf.CodedInputStream input)
static ThreadPoolOptionProto
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ThreadPoolOptionProto
parseFrom (com.google.protobuf.ByteString data)
static ThreadPoolOptionProto
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ThreadPoolOptionProto
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
ThreadPoolOptionProto.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int GLOBAL_NAME_FIELD_NUMBER

Valor constante: 2

público estático final int NUM_THREADS_FIELD_NUMBER

Valor Constante: 1

Métodos Públicos

public boolean equals (Object obj)

public static ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String 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; global_name 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; global_name 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;

público getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

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

public static ThreadPoolOptionProto.Builder newBuilder ()

public ThreadPoolOptionProto.Builder newBuilderForType ()

public static ThreadPoolOptionProto parseDelimitedFrom (InputStream input)

Lança
IOException

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

Lança
IOException

public static ThreadPoolOptionProto parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

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

Lança
IOException

public static ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString data, 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