def inject_action_noise(self, action):
        # generate action noise
        noise = self.action_noise * \
                np.random.normal(size=action.shape)
        # rescale the noise to make it proportional to the action bounds
        lb, ub = self.action_bounds
        noise = 0.5 * (ub - lb) * noise
        return action + noise
dataset/ETHPy150Open rllab/rllab/rllab/envs/mujoco/mujoco_env.py/MujocoEnv.inject_action_noise/original