(self, action)
return observation, reward, done, info
Steps the wrapped environment.

    Args:
      action: Numpy array. The input action from an NN agent.

    Returns:
      The tuple containing the modified observation, the reward, the epsiode end
      indicator.

    Raises:
      ValueError if input action is None.
Steps the wrapped environment.
Steps the wrapped environment .
def step(self, action):
    """Steps the wrapped environment.

    Args:
      action: Numpy array. The input action from an NN agent.

    Returns:
      The tuple containing the modified observation, the reward, the epsiode end
      indicator.

    Raises:
      ValueError if input action is None.

    """
    original_observation, reward, done, _ = self._gym_env.step(action)
    observation = self._modify_observation(original_observation)
    terminated = done

    done |= (self.env_step_counter >= self._max_episode_steps)

    if not done:
      self._total_step_count += 1

    info = {"terminated": terminated}

    return observation, reward, done, info
def step ( self , action ) : original_observation , reward , done , _ = self . _gym_env . step ( action ) observation = self . _modify_observation ( original_observation ) terminated = done done |= ( self . env_step_counter >= self . _max_episode_steps ) if not done : self . _total_step_count += 1 info = { "terminated" : terminated } return observation , reward , done , info