code: def test_custom_office(office_path, split_ratio):
      kwargs = {
          "download": False,
          "split_train_test": True,
          "split_ratio": split_ratio,
      }
      source = ImageAccess.get_multi_domain_images(
          "office", office_path, sub_domain_set=["dslr"], **kwargs
      )
      target = ImageAccess.get_multi_domain_images(
          "office", office_path, sub_domain_set=["webcam"], **kwargs
      )
      dataset = MultiDomainDatasets(
          source_access=source, target_access=target
      )
      dataset.prepare_data_loaders()
      dataloader = dataset.get_domain_loaders()
      testing.assert_equal(len(next(iter(dataloader))), 2)
  
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 3 for calling a global function with example usage: test_custom_office(office_path, split_ratio) without return types