unilab.training.common.assert_offpolicy_task_choice_matches_algo
-
unilab.training.common.assert_offpolicy_task_choice_matches_algo(cfg, *, algo_name=None)[source]
Reject off-policy configs whose cfg.algo.algo does not match the requested algo.
- Parameters:
cfg (DictConfig)
algo_name (str | None)
- Return type:
None