code: def __init__(
      self,
      name: str,
      benchmark: NIScenario,
      *,
      slice_ids: Optional[List[int]] = None,
      set_stream_info: bool = True,
  ):
      self.benchmark: NIScenario = benchmark
      super().__init__(
          name=name,
          benchmark=benchmark,
          slice_ids=slice_ids,
          set_stream_info=set_stream_info,
      )
  
file_path: avalanche/avalanche/benchmarks/scenarios/deprecated/new_instances/ni_scenario.py
imports: from typing import Optional, List, Sequence, Dict, Any
  import torch
  from avalanche.benchmarks.scenarios.deprecated.classification_scenario import ClassificationScenario, ClassificationStream, ClassificationExperience
  from avalanche.benchmarks.scenarios.deprecated.new_instances.ni_utils import _exp_structure_from_assignment
  from avalanche.benchmarks.utils.classification_dataset import _taskaware_classification_subset, TaskAwareClassificationDataset, TaskAwareSupervisedClassificationDataset
  from avalanche.benchmarks.utils.flat_data import ConstantSequence
label_desc: Use image node_id 1 to create a new NIStream object from inherited base classes: ClassificationStream with example: obj = NIStream(name, benchmark)