unilab.algos.torch.offpolicy.worker.resolve_collector_actor_dims
-
unilab.algos.torch.offpolicy.worker.resolve_collector_actor_dims(env, obs_dim=None, action_dim=None)[source]
Resolve actor dims for the collector.
Prefer explicit dims from the parent process so learner and collector
build identical actor shapes on override-heavy env paths.
- Parameters:
-
- Return type:
tuple[int, int]