code: def test_stitching():
      for device in ["cpu", "gpu"]:
          for dim in [3]:
              for dtype in [types.UINT8, types.FLOAT]:
                  for channel_first in [False, True]:
                      for interp in [
                          types.INTERP_LINEAR,
                          types.INTERP_CUBIC,
                          types.INTERP_TRIANGULAR,
                          types.INTERP_LANCZOS3,
                      ]:
                          yield _test_stitching, device, dim, channel_first, dtype, interp
  
imports: import cv2
  import functools
  import math
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.types
  import os.path
  from nvidia.dali import Pipeline, pipeline_def
  from nvidia.dali.data_node import DataNode
  from test_utils import check_batch, get_dali_extra_path, as_array
  import PIL.Image
label_desc: Use image node_id 18 for calling a global function with example usage: test_stitching() without return types