class_docstr: A regular replay buffer which stores transition without any additional structure
docstr: Freezing the replay buffer does not allow any new transitions to be added to the memory.
  Useful when working with a dataset (e.g. batch-rl or imitation learning).
  :return: None
docstr_tok: ["Freezing","the","replay","buffer","does","not","allow","any","new","transitions","to","be","added","to","the","memory",".","Useful","when","working","with","a","dataset","(","e.g",".","batch-rl","or","imitation","learning",")",".",":","return",":","None"]
code: def freeze(self):
      """
      Freezing the replay buffer does not allow any new transitions to be added to the memory.
      Useful when working with a dataset (e.g. batch-rl or imitation learning).
      :return: None
      """
      self.frozen = True
  
imports: from typing import List, Tuple, Union
  import pickle
  import random
  import math
  import numpy
  from rl_coach.core_types import Transition
  from rl_coach.logger import screen
  from rl_coach.memories.memory import Memory, MemoryGranularity, MemoryParameters
  from rl_coach.utils import ReaderWriterLock, ProgressBar
label_desc: Use image node_id 15 for calling the ExperienceReplay obj's underlying member method code with example usage: obj.freeze() without return types