NevergradSolver

class NevergradSolver(model: Costable, optimizer, n_steps: int, device='cpu')[source]

Bases: object

Nevergrad Solver.

supporting https://github.com/facebookresearch/nevergrad

Attention

  • CPU based optimizer (no GPU support)

  • It’s your duty to ensure num_workers == n_envs for parallelization

property action_dim: int
configure(*, action_space, n_envs: int, config) None[source]
property horizon: int
property n_envs: int
solve(info_dict, init_action=None)[source]