class_docstr: An Experience that provides a dataset.
class_docstr_tok: ["An","Experience","that","provides","a","dataset","."]
code: def __init__(
      self,
      *,
      dataset: TCLDataset,
      current_experience: Optional[int] = None,
  ):
      super().__init__(
          current_experience=current_experience, origin_stream=None
      )
      self._dataset: AvalancheDataset = dataset
  
imports: import random
  from avalanche.benchmarks.utils.data import AvalancheDataset
  import torch
  from itertools import tee
  from typing import Callable, Generator, Generic, List, Sequence, TypeVar, Union, Tuple, Optional, Iterable, Dict
  from .generic_scenario import EagerCLStream, CLScenario, CLExperience, make_stream
  from ..utils import TaskAwareSupervisedClassificationDataset
label_desc: Use image node_id 1 to create a new DatasetExperience object from inherited base classes: CLExperience, Generic with example: obj = DatasetExperience()