code: def test_nc_benchmark_transformations_basic(self):
      # Regression for #577
      ds = MNIST(
          root=default_dataset_location("mnist"),
          train=True,
          download=True,
      )
      ds = _make_taskaware_classification_dataset(
          ds, transform=ToTensor()
      )
  
      benchmark = nc_benchmark(
          ds,
          ds,
          n_experiences=10,
          shuffle=True,
          seed=1234,
          task_labels=False,
      )
  
      exp_0_dataset = benchmark.train_stream[0].dataset
      self.assertIsInstance(exp_0_dataset[0][0], Tensor)
  
imports: import random
  import unittest
  from PIL.Image import Image
  from torch import Tensor
  from torchvision.datasets import MNIST
  from torchvision.transforms import ToTensor
  from avalanche.benchmarks import nc_benchmark, ClassificationStream
  from avalanche.benchmarks.datasets import default_dataset_location
  from avalanche.benchmarks.scenarios.deprecated.new_classes import NCExperience
  from avalanche.benchmarks.scenarios.deprecated.new_classes.nc_utils import make_nc_transformation_subset
  from avalanche.benchmarks.utils import _taskaware_classification_subset, _make_taskaware_classification_dataset
  from tests.unit_tests_utils import DummyImageDataset
label_desc: Use image node_id 11 for calling the SITTests obj's underlying member method code with example usage: obj.test_nc_benchmark_transformations_basic() without return types