ThreadPoolOptionProto

classe finale publique ThreadPoolOptionProto

tensorflow.ThreadPoolOptionProto de type Protobuf.ThreadPoolOptionProto

Classes imbriquées

classe ThreadPoolOptionProto.Builder tensorflow.ThreadPoolOptionProto de type Protobuf.ThreadPoolOptionProto

Constantes

int GLOBAL_NAME_FIELD_NUMBER
int NUM_THREADS_FIELD_NUMBER

Méthodes publiques

booléen
est égal à (Obj objet)
statique ThreadPoolOptionProto
ThreadPoolOptionProto
final statique com.google.protobuf.Descriptors.Descriptor
Chaîne
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
booléen final
statique ThreadPoolOptionProto.Builder
statique ThreadPoolOptionProto.Builder
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto statique
parseDelimitedFrom (entrée InputStream)
statique ThreadPoolOptionProto
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique ThreadPoolOptionProto
parseFrom (données ByteBuffer)
ThreadPoolOptionProto statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
statique ThreadPoolOptionProto
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique ThreadPoolOptionProto
parseFrom (données com.google.protobuf.ByteString)
ThreadPoolOptionProto statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique ThreadPoolOptionProto
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ThreadPoolOptionProto.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int GLOBAL_NAME_FIELD_NUMBER

Valeur constante : 2

public statique final entier NUM_THREADS_FIELD_NUMBER

Valeur constante : 1

Méthodes publiques

public booléen égal (Objet obj)

public statique ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

chaîne publique 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;

publique getParserForType ()

public int getSerializedSize ()

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

code de hachage int public ()

public final booléen isInitialized ()

public statique ThreadPoolOptionProto.Builder newBuilder (prototype ThreadPoolOptionProto )

public statique ThreadPoolOptionProto.Builder newBuilder ()

public ThreadPoolOptionProto.Builder newBuilderForType ()

public static ThreadPoolOptionProto parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static ThreadPoolOptionProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ThreadPoolOptionProto parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ThreadPoolOptionProto parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ThreadPoolOptionProto parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static ThreadPoolOptionProto parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ThreadPoolOptionProto parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static ThreadPoolOptionProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ThreadPoolOptionProto parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public ThreadPoolOptionProto.Builder toBuilder ()

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

Jetés
IOException