code: def resize_dali(
      input,
      channel_first,
      dtype,
      interp,
      mode,
      size,
      w,
      h,
      d,
      roi_start,
      roi_end,
      minibatch_size,
      max_size,
  ):
      return fn.resize(
          input,
          interp_type=interp,
          dtype=dtype,
          mode=mode,
          resize_x=w,
          resize_y=h,
          resize_z=d,
          size=size,
          roi_start=roi_start,
          roi_end=roi_end,
          minibatch_size=minibatch_size,
          max_size=max_size,
          subpixel_scale=False,
      )
  
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 5 for calling a global function with example usage: resize_dali(input, channel_first, dtype, interp, mode, size, w, h, d, roi_start, roi_end, minibatch_size, max_size) and returns: fn