code: def her():
      params = Parameters().__dict__
  
      import inspect
  
      args = set(
          inspect.getfullargspec(
              EpisodicHindsightExperienceReplay.__init__
          ).args
      ).intersection(params)
      params = {k: params[k] for k in args}
  
      return EpisodicHindsightExperienceReplay(**params)
  
file_path: coach/rl_coach/tests/memories/test_hindsight_experience_replay.py
imports: import os
  import sys
  from rl_coach.memories.episodic.episodic_hindsight_experience_replay import EpisodicHindsightExperienceReplayParameters
  from rl_coach.spaces import GoalsSpace, ReachingGoal
  import pytest
  import numpy
  from rl_coach.core_types import Transition, Episode
  from rl_coach.memories.memory import MemoryGranularity
  from rl_coach.memories.episodic.episodic_hindsight_experience_replay import EpisodicHindsightExperienceReplay, HindsightGoalSelectionMethod
label_desc: Use image node_id 2 for calling a global function with example usage: her() and returns: EpisodicHindsightExperienceReplay