ThreadPoolOptionProto.Builder

classe finale statica pubblica ThreadPoolOptionProto.Builder

Tipo protobuf tensorflow.ThreadPoolOptionProto

Metodi pubblici

ThreadPoolOptionProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
ThreadPoolOptionProto
ThreadPoolOptionProto
ThreadPoolOptionProto.Builder
chiaro ()
ThreadPoolOptionProto.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
ThreadPoolOptionProto.Builder
clearGlobalName ()
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
clearNumThreads ()
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ThreadPoolOptionProto.Builder
clone ()
ThreadPoolOptionProto
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
Corda
getGlobalName ()
 The global name of the threadpool.
com.google.protobuf.ByteString
getGlobalNameBytes ()
 The global name of the threadpool.
int
getNumThread ()
 The number of threads in the pool.
booleano finale
ThreadPoolOptionProto.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.Message altro)
finale ThreadPoolOptionProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
ThreadPoolOptionProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
ThreadPoolOptionProto.Builder
setGlobalName (valore stringa)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setGlobalNameBytes (valore com.google.protobuf.ByteString)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setNumThreads (valore int)
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale ThreadPoolOptionProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public ThreadPoolOptionProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public ThreadPoolOptionProto build ()

public ThreadPoolOptionProto buildPartial ()

pubblico ThreadPoolOptionProto.Builder chiaro ()

public ThreadPoolOptionProto.Builder clearField (campo 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)

clone pubblico ThreadPoolOptionProto.Builder ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

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

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;

public final booleano isInitialized ()

public ThreadPoolOptionProto.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

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

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

public ThreadPoolOptionProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public ThreadPoolOptionProto.Builder setGlobalName (valore stringa)

 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 (valore 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 (valore 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

pubblico finale ThreadPoolOptionProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)