PoolModel
- class pyapprox.interface.PoolModel(function, max_eval_concurrency, assert_omp=True, base_model=None)[source]
Bases:
object
Evaluate a function at multiple samples in parallel using multiprocessing.Pool
Methods Summary
__call__
(samples[, verbose, return_grad])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