class_docstr: Defines a "New Classes" experience. It defines fields to obtain the current
  dataset and the associated task label. It also keeps a reference to the
  stream from which this experience was taken.
class_docstr_tok: ["Defines","a","``","New","Classes","''","experience",".","It","defines","fields","to","obtain","the","current","dataset","and","the","associated","task","label",".","It","also","keeps","a","reference","to","the","stream","from","which","this","experience","was","taken","."]
code: def benchmark(self, bench: NCScenario):
      self._benchmark = bench
  
file_path: avalanche/avalanche/benchmarks/scenarios/deprecated/new_classes/nc_scenario.py
imports: from typing import Sequence, List, Optional, Dict, Any, Set
  import torch
  from avalanche.benchmarks.scenarios.deprecated.classification_scenario import ClassificationScenario, ClassificationStream, ClassificationExperience
  from avalanche.benchmarks.utils.classification_dataset import _taskaware_classification_subset
  from avalanche.benchmarks.utils.classification_dataset import TaskAwareClassificationDataset, TaskAwareSupervisedClassificationDataset
  from avalanche.benchmarks.utils.flat_data import ConstantSequence
label_desc: Use image node_id 3 for calling the NCExperience obj's underlying member method code with example usage: obj.benchmark(bench) without return types