code: def _generate_stream(dataset_list):
      # Lazy generator of a stream
      for dataset in dataset_list:
          yield dataset
  
file_path: avalanche/tests/benchmarks/scenarios/deprecated/test_classification_scenario.py
imports: import unittest
  import weakref
  import gc
  import torch
  from avalanche.benchmarks import dataset_benchmark, ClassificationExperience, ClassificationScenario
  from avalanche.benchmarks.utils import _make_taskaware_tensor_classification_dataset, DataAttribute
  from torch.utils.data.dataset import TensorDataset
  from avalanche.benchmarks.utils.data import AvalancheDataset
label_desc: Use image node_id 8 for calling the ClassificationScenarioTests obj's underlying member method code with example usage: obj._generate_stream(dataset_list) without return types