clase final estática pública ThreadPoolOptionProto.Builder
Protobuf tipo tensorflow.ThreadPoolOptionProto
Métodos públicos
ThreadPoolOptionProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ThreadPoolOptionProto | construir () |
ThreadPoolOptionProto | |
ThreadPoolOptionProto.Builder | claro () |
ThreadPoolOptionProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ThreadPoolOptionProto.Builder | borrarNombreGlobal () The global name of the threadpool. |
ThreadPoolOptionProto.Builder | borrarNumThreads () The number of threads in the pool. |
ThreadPoolOptionProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
ThreadPoolOptionProto.Builder | clonar () |
ThreadPoolOptionProto | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Cadena | obtenerNombreGlobal () The global name of the threadpool. |
com.google.protobuf.ByteString | getGlobalNameBytes () The global name of the threadpool. |
entero | obtenerNumThreads () The number of threads in the pool. |
booleano final | |
ThreadPoolOptionProto.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
ThreadPoolOptionProto.Builder | mergeFrom (com.google.protobuf.Message otro) |
ThreadPoolOptionProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
ThreadPoolOptionProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ThreadPoolOptionProto.Builder | setGlobalName (valor de cadena) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setGlobalNameBytes (valor com.google.protobuf.ByteString) The global name of the threadpool. |
ThreadPoolOptionProto.Builder | setNumThreads (valor int) The number of threads in the pool. |
ThreadPoolOptionProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
ThreadPoolOptionProto.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
público ThreadPoolOptionProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ThreadPoolOptionProto.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
público 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;
público 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;
público ThreadPoolOptionProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
cadena pública 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;
público 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;
público 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 final booleano isInitialized ()
público ThreadPoolOptionProto.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
público final ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público ThreadPoolOptionProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ThreadPoolOptionProto.Builder setGlobalName (valor de cadena)
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;
público ThreadPoolOptionProto.Builder setGlobalNameBytes (valor 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;
público ThreadPoolOptionProto.Builder setNumThreads (valor 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;