set_exploration_mode¶
- torchrl.envs.utils.set_exploration_mode(mode: str | None = 'mode') None ¶
Deprecated Sets the sampling mode of all ProbabilisticTDModules to the desired mode.
- Parameters:
mode (str) – mode to use when the policy is being called.