class_docstr: Task-aware experiences provide task labels.
  
  The attribute `task_label` is available is an experience has data from
  a single task. Otherwise, `task_labels` must be used, which provides the
  list of task labels for the current experience.
docstr: The list of task labels in the experience.
docstr_tok: ["The","list","of","task","labels","in","the","experience","."]
code: def task_labels(self) -> List[int]:
      """The list of task labels in the experience."""
      return [0]
  
file_path: avalanche/avalanche/benchmarks/scenarios/task_aware.py
imports: import warnings
  from copy import copy
  from typing import Protocol, List, Sequence
  from .generic_scenario import CLScenario, CLStream, EagerCLStream, CLExperience
  from .dataset_scenario import DatasetExperience
  from ..utils import AvalancheDataset, TaskLabels, ConstantSequence
  from ..utils.data_attribute import has_task_labels
label_desc: Use image node_id 2 for calling the TaskAware obj's underlying member method code with example usage: obj.task_labels() and returns: list