code: def create_dummy_data(data_dir):
      os.makedirs(os.path.join(data_dir, "image"))
      os.makedirs(os.path.join(data_dir, "audio"))
  
      train_image_data = np.random.rand(100, 28, 28)
      train_audio_data = np.random.rand(100, 112, 112)
      train_labels = np.random.randint(0, 10, size=(100,))
  
      test_image_data = np.random.rand(20, 28, 28)
      test_audio_data = np.random.rand(20, 112, 112)
      test_labels = np.random.randint(0, 10, size=(20,))
  
      np.save(
          os.path.join(data_dir, "image/train_data.npy"),
          train_image_data,
      )
      np.save(
          os.path.join(data_dir, "audio/train_data.npy"),
          train_audio_data,
      )
      np.save(os.path.join(data_dir, "train_labels.npy"), train_labels)
  
      np.save(
          os.path.join(data_dir, "image/test_data.npy"), test_image_data
      )
      np.save(
          os.path.join(data_dir, "audio/test_data.npy"), test_audio_data
      )
      np.save(os.path.join(data_dir, "test_labels.npy"), test_labels)
  
file_path: pykale/tests/loaddata/test_avmnist_datasets.py
imports: import os
  import tempfile
  import numpy
  import pytest
  from kale.loaddata.avmnist_datasets import AVMNISTDataset
label_desc: Use image node_id 2 for calling a global function with example usage: create_dummy_data(data_dir) without return types