unilab.training.common.assert_offpolicy_task_choice_matches_algo

unilab.training.common.assert_offpolicy_task_choice_matches_algo(cfg, *, algo_name=None)[source]

Reject offpolicy configs whose task owner path does not match the selected algo.

Parameters:
  • cfg (DictConfig)

  • algo_name (str | None)

Return type:

None