class_docstr: Implements Hindsight Experience Replay as described in the following paper: https://arxiv.org/pdf/1707.01495.pdf
class_docstr_tok: ["Implements","Hindsight","Experience","Replay","as","described","in","the","following","paper",":","https",":","\/\/arxiv.org\/pdf\/1707.01495.pdf"]
code: def store(self, transition: Transition):
      raise ValueError(
          "An episodic HER cannot store a single transition. Only full episodes are to be stored."
      )
  
imports: import copy
  from enum import Enum
  from typing import Tuple, List
  import numpy
  from rl_coach.core_types import Episode, Transition
  from rl_coach.memories.episodic.episodic_experience_replay import EpisodicExperienceReplayParameters, EpisodicExperienceReplay
  from rl_coach.memories.non_episodic.experience_replay import MemoryGranularity
  from rl_coach.spaces import GoalsSpace
label_desc: Use image node_id 5 for calling the EpisodicHindsightExperienceReplay obj's underlying member method code with example usage: obj.store(transition) without return types