class_docstr: Environment wrapper for OpenAI Gym environments.
class_docstr_tok: ["Environment","wrapper","for","OpenAI","Gym","environments","."]
docstr: Resets the episode.
docstr_tok: ["Resets","the","episode","."]
code: def reset(self) -> dm_env.TimeStep:
      """Resets the episode."""
      self._reset_next_step = False
      observation = self._environment.reset()
      # Reset the diagnostic information.
      self._last_info = None
      return dm_env.restart(observation)
  
imports: from typing import Any, Dict, List, Optional
  from acme import specs
  from acme import types
  import dm_env
  import gym
  from gym import spaces
  import numpy
  import tree
label_desc: Use image node_id 2 for calling the GymWrapper obj's underlying member method code with example usage: obj.reset() and returns: dm_env