code: def build_dataset_from_name(
      dataset_name: str, path: str = "~/.cache-autogl/", *args, **kwargs
  ):
      """
  
      Parameters
      ----------
      dataset_name: `str`
          name of dataset
      path: `str`
          local cache directory for datasets, default to "~/.cache-autogl/"
  
      Returns
      -------
      instance of dataset
      """
      path = os.path.expanduser(
          os.path.join(path, "data", dataset_name)
      )
      _dataset = DatasetUniversalRegistry.get_dataset(dataset_name)
      return _dataset(path, *args, **kwargs)
  
file_path: AutoGL/autogl/datasets/_dataset_registry.py
imports: import os
  import typing
  from autogl.utils import universal_registry
  from autogl.data import Dataset
label_desc: Use image node_id 1 for calling a global function with example usage: build_dataset_from_name(dataset_name, path) and returns: _dataset