code: def test_copy():
      for shape, layout in [
          ([4, 2, 3], "HWC"),
          ([6, 1], "FX"),
          ([8, 10, 10, 3], "FHWC"),
      ]:
          for device in ["cpu", "gpu"]:
              for dtype in [np.uint8, np.float16, np.int32]:
                  yield check_copy, shape, layout, device, dtype
  
imports: from nvidia.dali import fn, pipeline_def
  from test_utils import RandomlyShapedDataIterator, to_array
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_copy() without return types