ThreadPoolOptionProto.Builder

kelas akhir statis publik ThreadPoolOptionProto.Builder

Tipe protobuf tensorflow.ThreadPoolOptionProto

Metode Publik

ThreadPoolOptionProto.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ThreadPoolOptionProto
ThreadPoolOptionProto
ThreadPoolOptionProto.Builder
jernih ()
ThreadPoolOptionProto.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
ThreadPoolOptionProto.Builder
jelasNamaGlobal ()
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
hapusNumThreads ()
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor salah satu)
ThreadPoolOptionProto.Builder
klon ()
ThreadPoolOptionProto
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
Rangkaian
dapatkan Nama Global ()
 The global name of the threadpool.
com.google.protobuf.ByteString
dapatkanGlobalNameBytes ()
 The global name of the threadpool.
ke dalam
dapatkanNumThreads ()
 The number of threads in the pool.
boolean terakhir
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
ThreadPoolOptionProto.Builder terakhir
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
ThreadPoolOptionProto.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ThreadPoolOptionProto.Builder
setGlobalName (Nilai string)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setGlobalNameBytes (nilai com.google.protobuf.ByteString)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setNumThreads (nilai int)
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
ThreadPoolOptionProto.Builder terakhir
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Metode Warisan

Metode Publik

public ThreadPoolOptionProto.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

pembuatan ThreadPoolOptionProto publik ()

publik ThreadPoolOptionProto buildPartial ()

ThreadPoolOptionProto.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)

ThreadPoolOptionProto.Builder publik 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;

ThreadPoolOptionProto.Builder publik 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;

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

publik ThreadPoolOptionProto getDefaultInstanceForType ()

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

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

String publik 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;

publik 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;

int publik 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;

boolean akhir publik diinisialisasi ()

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

Melempar
Pengecualian IO

publik ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.Pesan lainnya)

ThreadPoolOptionProto.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public ThreadPoolOptionProto.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

publik ThreadPoolOptionProto.Builder setGlobalName (Nilai string)

 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;

publik ThreadPoolOptionProto.Builder setGlobalNameBytes (nilai 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;

publik ThreadPoolOptionProto.Builder setNumThreads (nilai 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

ThreadPoolOptionProto.Builder final publikUnknownFields ( com.google.protobuf.UnknownFieldSet unknownFields)