code: def imresample(img, sz):
      im_data = cv2.resize(
          img, (sz[1], sz[0]), interpolation=cv2.INTER_AREA
      )
      return im_data
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  import cv2
  import os
  import inspect
label_desc: Use image node_id 10 for calling a global function with example usage: imresample(img, sz) and returns: im_data