code: def _get_tiny_imagenet_dataset(dataset_root):
      train_set = TinyImagenet(root=dataset_root, train=True)
  
      test_set = TinyImagenet(root=dataset_root, train=False)
  
      return train_set, test_set
  
file_path: avalanche/avalanche/benchmarks/classic/ctiny_imagenet.py
imports: from pathlib import Path
  from typing import Union, Any, Optional
  from torchvision import transforms
  from avalanche.benchmarks.classic.classic_benchmarks_utils import check_vision_benchmark
  from avalanche.benchmarks.datasets import TinyImagenet
  from avalanche.benchmarks.scenarios.deprecated.generators import nc_benchmark
label_desc: Use image node_id 2 for calling a global function with example usage: _get_tiny_imagenet_dataset(dataset_root) and returns: train_set,  test_set