code: def CORe50(*args, **kwargs):
      warn(
          "Dataset CORe50 has been renamed CORe50Dataset to prevent confusion "
          "with the CORe50 classic benchmark",
          DeprecationWarning,
          2,
      )
      return CORe50Dataset(*args, **kwargs)
  
imports: import glob
  import os
  import pickle
  from pathlib import Path
  from typing import List, Optional, Tuple, Union
  from warnings import warn
  from torchvision.datasets.folder import default_loader
  from torchvision.transforms import ToTensor
  from avalanche.benchmarks.datasets.core50 import core50_data
  from avalanche.benchmarks.datasets import default_dataset_location
  from avalanche.benchmarks.datasets.downloadable_dataset import DownloadableDataset
label_desc: Use image node_id 1 for calling a global function with example usage: CORe50() and returns: CORe50Dataset