class_docstr: Reshaping Observation wrapper for gym.Env.
  
  This wrapper convert the observations into the given shape.
  
  Args:
      env (gym.Env): The environment to be wrapped.
      shape (list[int]): Target shape to be applied on the observations.
code: def __init__(self, env, shape):
      super().__init__(env)
      print(env.observation_space.shape)
      assert np.prod(shape) == np.prod(env.observation_space.shape)
      _low = env.observation_space.low.flatten()[0]
      _high = env.observation_space.high.flatten()[0]
      self._observation_space = gym.spaces.Box(
          _low, _high, shape=shape, dtype=env.observation_space.dtype
      )
      self._shape = shape
  
file_path: garage/tests/fixtures/envs/wrappers/reshape_observation.py
imports: import gym
  import numpy
label_desc: Use image node_id 1 to create a new ReshapeObservation object from inherited base classes: gym with example: obj = ReshapeObservation(env, shape)