ThreadPoolOptionProto

classe finale pubblica ThreadPoolOptionProto

Tipo protobuf tensorflow.ThreadPoolOptionProto

Classi nidificate

classe ThreadPoolOptionProto.Builder Tipo protobuf tensorflow.ThreadPoolOptionProto

Costanti

int GLOBAL_NAME_FIELD_NUMBER
int NUM_THREADS_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
ThreadPoolOptionProto statico
ThreadPoolOptionProto
com.google.protobuf.Descriptors.Descriptor statico finale
Corda
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
finale com.google.protobuf.UnknownFieldSet
int
booleano finale
ThreadPoolOptionProto.Builder statico
ThreadPoolOptionProto.Builder statico
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto statico
parseDelimitedFrom (input InputStream)
ThreadPoolOptionProto statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statico
parseFrom (dati ByteBuffer)
ThreadPoolOptionProto statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
ThreadPoolOptionProto statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
ThreadPoolOptionProto statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statico
parseFrom (dati com.google.protobuf.ByteString)
ThreadPoolOptionProto statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
ThreadPoolOptionProto.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int GLOBAL_NAME_FIELD_NUMBER

Valore costante: 2

public static final int NUM_THREADS_FIELD_NUMBER

Valore costante: 1

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

pubblico statico ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

stringa pubblica 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;

pubblico getParserForType ()

public int getSerializedSize ()

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final booleano isInitialized ()

pubblico statico ThreadPoolOptionProto.Builder newBuilder (prototipo ThreadPoolOptionProto )

pubblico statico ThreadPoolOptionProto.Builder newBuilder ()

pubblico ThreadPoolOptionProto.Builder newBuilderForType ()

pubblico statico ThreadPoolOptionProto parseDelimitedFrom (input InputStream)

Lancia
IOException

pubblico statico ThreadPoolOptionProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico ThreadPoolOptionProto (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

pubblico statico ThreadPoolOptionProto parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

pubblico statico ThreadPoolOptionProto parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico ThreadPoolOptionProto parseFrom (input com.google.protobuf.CodedInputStream)

Lancia
IOException

pubblico statico ThreadPoolOptionProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ThreadPoolOptionProto (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

pubblico statico ThreadPoolOptionProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

pubblico statico ThreadPoolOptionProto parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico ThreadPoolOptionProto.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException