add_env_reset#
- SingleAgentEpisode.add_env_reset(observation: gymnasium.core.ObsType, infos: Dict | None = None) None[source]#
Adds the initial data (after an
env.reset()) to the episode.This data consists of initial observations and initial infos.
- Parameters:
observation (gymnasium.core.ObsType) – The initial observation returned by
env.reset().infos (Dict | None) – An (optional) info dict returned by
env.reset().