ThreadPoolOptionProto.Builder

classe finale statique publique ThreadPoolOptionProto.Builder

tensorflow.ThreadPoolOptionProto de type Protobuf.ThreadPoolOptionProto

Méthodes publiques

ThreadPoolOptionProto.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
ThreadPoolOptionProto
ThreadPoolOptionProto
ThreadPoolOptionProto.Builder
clair ()
ThreadPoolOptionProto.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
ThreadPoolOptionProto.Builder
clearGlobalName ()
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
effacerNumThreads ()
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ThreadPoolOptionProto.Builder
cloner ()
ThreadPoolOptionProto
final statique com.google.protobuf.Descriptors.Descriptor
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.
booléen final
ThreadPoolOptionProto.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.Message autre)
finale ThreadPoolOptionProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
ThreadPoolOptionProto.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
ThreadPoolOptionProto.Builder
setGlobalName (valeur de chaîne)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setGlobalNameBytes (valeur com.google.protobuf.ByteString)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setNumThreads (valeur entière)
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
finale ThreadPoolOptionProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public ThreadPoolOptionProto.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public ThreadPoolOptionProto ()

public ThreadPoolOptionProto buildPartial ()

public ThreadPoolOptionProto.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public ThreadPoolOptionProto.Builder clearGlobalName ()

 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 ThreadPoolOptionProto.Builder clearNumThreads ()

 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;

public ThreadPoolOptionProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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;

public final booléen isInitialized ()

public ThreadPoolOptionProto.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.Message autre)

public final ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public ThreadPoolOptionProto.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public ThreadPoolOptionProto.Builder setGlobalName (valeur de chaîne)

 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 ThreadPoolOptionProto.Builder setGlobalNameBytes (valeur com.google.protobuf.ByteString)

 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 ThreadPoolOptionProto.Builder setNumThreads (valeur int)

 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;

public ThreadPoolOptionProto.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public final ThreadPoolOptionProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)