class_docstr: Clip the continuous action within the valid :class:`Box` observation space bound.
  
  Example:
      >>> import gym
      >>> env = gym.make('Bipedal-Walker-v3')
      >>> env = ClipAction(env)
      >>> env.action_space
      Box(-1.0, 1.0, (4,), float32)
      >>> env.step(np.array([5.0, 2.0, -10.0, 0.0]))
      # Executes the action np.array([1.0, 1.0, -1.0, 0]) in the base environment
docstr: Clips the action within the valid bounds.
  
  Args:
      action: The action to clip
  
  Returns:
      The clipped action
docstr_tok: ["Clips","the","action","within","the","valid","bounds",".","Args",":","action",":","The","action","to","clip","Returns",":","The","clipped","action"]
code: def action(self, action):
      """Clips the action within the valid bounds.
  
      Args:
          action: The action to clip
  
      Returns:
          The clipped action
      """
      return np.clip(
          action, self.action_space.low, self.action_space.high
      )
  
imports: import numpy
  import gym
  from gym import ActionWrapper
  from gym.spaces import Box
label_desc: Use image node_id 2 for calling the ClipAction obj's underlying member method code with example usage: obj.action(action) and returns: np