code: def testing_cfg(download_path):
      cfg = CfgNode()
      cfg.DATASET = CfgNode()
      cfg.SOLVER = CfgNode()
      cfg.DATASET.ROOT = download_path
      cfg.DATASET.DOWNLOAD = False
      cfg.SOLVER.TRAIN_BATCH_SIZE = 16
      cfg.SOLVER.TEST_BATCH_SIZE = 20
      cfg.DATASET.NUM_WORKERS = 1
      yield cfg
  
file_path: pykale/tests/loaddata/test_image_access.py
imports: import pytest
  import torch
  from numpy import testing
  from yacs.config import CfgNode
  from kale.loaddata.dataset_access import get_class_subset
  from kale.loaddata.image_access import DigitDataset, DigitDatasetAccess, get_cifar, ImageAccess
  from kale.loaddata.multi_domain import DomainsDatasetBase, MultiDomainAdapDataset, MultiDomainDatasets
label_desc: Use image node_id 9 for calling a global function with example usage: testing_cfg(download_path) without return types