reference/generated/torchrl.envs.utils.set_exploration_mode
Run in Google Colab
Colab
Download Notebook
Notebook
View on GitHub
GitHub
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.