class_docstr: Hindsight Experience Replay (HER) https://arxiv.org/abs/1707.01495
  
  :param policy: (BasePolicy or str) The policy model to use (MlpPolicy, CnnPolicy, CnnLstmPolicy, ...)
  :param env: (Gym environment or str) The environment to learn from (if registered in Gym, can be str)
  :param model_class: (OffPolicyRLModel) The off policy RL model to apply Hindsight Experience Replay
      currently supported: DQN, DDPG, SAC
  :param n_sampled_goal: (int)
  :param goal_selection_strategy: (GoalSelectionStrategy or str)
code: def set_env(self, env):
      assert not isinstance(
          env, VecEnvWrapper
      ), "HER does not support VecEnvWrapper"
      super().set_env(env)
      self._create_replay_wrapper(self.env)
      self.model.set_env(self.env)
  
imports: import functools
  from stable_baselines.common import BaseRLModel
  from stable_baselines.common import OffPolicyRLModel
  from stable_baselines.common.base_class import _UnvecWrapper
  from stable_baselines.common.vec_env import VecEnvWrapper
  from .replay_buffer import HindsightExperienceReplayWrapper, KEY_TO_GOAL_STRATEGY
  from .utils import HERGoalEnvWrapper
label_desc: Use image node_id 3 for calling the HER obj's underlying member method code with example usage: obj.set_env(env) without return types