code: def _cv_remap(img, mapx, mapy):
      return cv2.remap(
          img, mapx, mapy, cv2.INTER_NEAREST, cv2.BORDER_CONSTANT, 0
      )
  
imports: import cv2
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import os.path
  import unittest
  import time
  from nose2.tools import params
  from nvidia.dali.pipeline.experimental import pipeline_def
  from nvidia.dali.types import DALIInterpType
label_desc: Use image node_id 2 for calling a global function with example usage: _cv_remap(img, mapx, mapy) and returns: cv2