code: def _generate_io_arrays(shapes: dict, dev):
      n, w, h, ci, kw, kh, co = (
          shapes["n"],
          shapes["w"],
          shapes["h"],
          shapes["ci"],
          shapes["kw"],
          shapes["kh"],
          shapes["co"],
      )
  
      ifmap_data = tvm.nd.array(
          np.random.uniform(size=(n, ci, w, h)).astype("float32"), dev
      )
      weight_data = tvm.nd.array(
          np.random.uniform(size=(co, ci, kh, kw)).astype("float32"),
          dev,
      )
      result_data = tvm.nd.array(
          np.zeros((n, co, w, h)).astype("float32"), dev
      )
      return ifmap_data, weight_data, result_data
  
file_path: tvm/tests/python/contrib/test_uma/test_uma_utils.py
imports: import io
  import tvm
  from tvm import topi, IRModule
  import numpy
  from tvm.contrib import utils, clang
  import tvm.testing
  from tvm import te
  from typing import Union
label_desc: Use image node_id 2 for calling a global function with example usage: _generate_io_arrays(shapes, dev) and returns: ifmap_data,  weight_data,  result_data