PoolModel¶
-
class
pyapprox.models.wrappers.
PoolModel
(function, max_eval_concurrency, assert_omp=True, base_model=None)[source]¶ Bases:
object
Methods Summary
__call__
(samples)Evaluate a function at multiple samples in parallel using multiprocessing.Pool
set_max_eval_concurrency
(max_eval_concurrency)Set the number of threads used to evaluate the function
Methods Documentation