code: def check(a1, a2):
      if a1.dtype != a2.dtype:
          print(a1.dtype, a2.dtype)
      assert a1.dtype == a2.dtype
      if not np.array_equal(a1, a2):
          print("A1", a1)
          print("A2", a2)
      assert np.array_equal(a1, a2)
  
imports: import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  from nvidia.dali import Pipeline
  from test_utils import check_batch
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 1 for calling a global function with example usage: check(a1, a2) without return types