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)
docstr: Wrap the RL model.
  
  :param attr: (str)
  :return: (Any)
docstr_tok: ["Wrap","the","RL","model",".",":","param","attr",":","(","str",")",":","return",":","(","Any",")"]
code: def __getattr__(self, attr):
      """
      Wrap the RL model.
  
      :param attr: (str)
      :return: (Any)
      """
      if attr in self.__dict__:
          return getattr(self, attr)
      return getattr(self.model, attr)
  
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 6 for calling the HER obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: getattr, getattr