docstr: Replay mode means this dataset will replay the previous samples.
docstr_tok: ["Replay","mode","means","this","dataset","will","replay","the","previous","samples","."]
code: def replay(self):
      """
      Replay mode means this dataset will replay the previous samples.
      """
      self._replay_mode = True
  
imports: from __future__ import annotations
  from collections import defaultdict
  from typing import Any, Callable, Dict, List, Type
  import torch
  from torch.utils.data import Dataset, IterableDataset
  from .utils import _default_get_rngs_state, _default_set_rngs_state, _default_manual_seed
label_desc: Use image node_id 6 for calling the _UidDataset obj's underlying member method code with example usage: obj.replay() without return types