ThreadPoolOptionProto.Builder

パブリック静的最終クラスThreadPoolOptionProto.Builder

Protobuf 型tensorflow.ThreadPoolOptionProto

パブリックメソッド

ThreadPoolOptionProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
スレッドプールオプションプロト
建てる()
スレッドプールオプションプロト
ThreadPoolOptionProto.Builder
クリア()
ThreadPoolOptionProto.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
ThreadPoolOptionProto.Builder
クリアグローバル名()
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
クリアNumThreads ()
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ThreadPoolOptionProto.Builder
スレッドプールオプションプロト
最終的な静的 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getグローバル名()
 The global name of the threadpool.
com.google.protobuf.ByteString
getGlobalNameBytes ()
 The global name of the threadpool.
整数
getNumThreads ()
 The number of threads in the pool.
最終ブール値
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ThreadPoolOptionProto.Builder
mergeFrom (com.google.protobuf.Message other)
最終的なThreadPoolOptionProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
ThreadPoolOptionProto.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
ThreadPoolOptionProto.Builder
setGlobalName (文字列値)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setGlobalNameBytes (com.google.protobuf.ByteString 値)
 The global name of the threadpool.
ThreadPoolOptionProto.Builder
setNumThreads (int 値)
 The number of threads in the pool.
ThreadPoolOptionProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
最終的なThreadPoolOptionProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public ThreadPoolOptionProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public ThreadPoolOptionProto build ()

public ThreadPoolOptionProto buildPartial ()

public ThreadPoolOptionProto.Builder clearField (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.Builderクローン()

public ThreadPoolOptionProto getDefaultInstanceForType ()

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

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

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

パブリック最終ブール値isInitialized ()

public ThreadPoolOptionProto.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

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

public Final ThreadPoolOptionProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public ThreadPoolOptionProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public ThreadPoolOptionProto.Builder setGlobalName (文字列値)

 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 (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 (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 (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public Final ThreadPoolOptionProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)