stable_gym
Entry_point that register the Stable Gym gymnasium environments.
Subpackages
Submodules
Attributes
Classes
A gymnasium wrapper that injects the |
Package Contents
- class stable_gym.MaxEpisodeStepsInjectionWrapper(env)[source]
Bases:
gymnasium.WrapperA gymnasium wrapper that injects the
max_episode_stepsattribute of theTimeLimitwrapper into the base environment as the_time_limit_max_episode_stepsattribute. If the environment is not wrapped in aTimeLimitwrapper, then the_time_limit_max_episode_stepsattribute is set toNone.Wrap a gymnasium environment. :param env: The gymnasium environment. :type env: gym.Env
- max_episode_steps