code: def _get_omniglot_dataset(dataset_root):
      if dataset_root is None:
          dataset_root = default_dataset_location("omniglot")
  
      train = Omniglot(root=dataset_root, train=True, download=True)
      test = Omniglot(root=dataset_root, train=False, download=True)
  
      return train, test
  
file_path: avalanche/avalanche/benchmarks/classic/comniglot.py
imports: from pathlib import Path
  from typing import Optional, Sequence, Any, Union
  from torch import Tensor
  from torchvision.transforms import ToTensor, Compose, Normalize, ToPILImage
  from PIL.Image import Image
  from avalanche.benchmarks import nc_benchmark
  from avalanche.benchmarks.classic.classic_benchmarks_utils import check_vision_benchmark
  from avalanche.benchmarks.datasets import default_dataset_location
  from avalanche.benchmarks.datasets.omniglot import Omniglot
label_desc: Use image node_id 3 for calling a global function with example usage: _get_omniglot_dataset(dataset_root) and returns: train,  test