code: def make_param(kind, shape):
      if kind == "input":
          return fn.random.uniform(range=(0, 1), shape=shape)
      elif kind == "scalar input":
          return fn.reshape(fn.random.uniform(range=(0, 1)), shape=[])
      elif kind == "vector":
          return np.random.rand(*shape).astype(np.float32)
      elif kind == "scalar":
          return np.random.rand()
      else:
          return None
  
file_path: DALI/dali/test/python/operator_1/test_coord_transform.py
imports: import random
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  from test_utils import check_batch, dali_type
  from sequences_test_utils import ArgData, ArgDesc, sequence_suite_helper, ArgCb
label_desc: Use image node_id 1 for calling a global function with example usage: make_param(kind, shape) and returns: fn, fn, np, np, None