unilab.base.reset_selectors.resolve_reset_mask

unilab.base.reset_selectors.resolve_reset_mask(selector, *, num_envs, device, owner)[source]

Resolve a public reset selector to the internal fixed-width bool mask.

The selector is normalized to env_ids and scattered into a freshly allocated mask.

Parameters:
Return type:

Tensor