code: def imresize(src, w, h, interp=1):
      """Resize image with OpenCV.
  
      This is a duplicate of mxnet.image.imresize for name space consistency.
  
      Parameters
      ----------
      src : mxnet.nd.NDArray
          source image
      w : int, required
          Width of resized image.
      h : int, required
          Height of resized image.
      interp : int, optional, default='1'
          Interpolation method (default=cv2.INTER_LINEAR).
  
      out : NDArray, optional
          The output NDArray to hold the result.
  
      Returns
      -------
      out : NDArray or list of NDArrays
          The output of this function.
  
      Examples
      --------
      >>> import mxnet as mx
      >>> from gluoncv import data as gdata
      >>> img = mx.random.uniform(0, 255, (300, 300, 3)).astype('uint8')
      >>> print(img.shape)
      (300, 300, 3)
      >>> img = gdata.transforms.image.imresize(img, 200, 200)
      >>> print(img.shape)
      (200, 200, 3)
      """
      from mxnet.image.image import _get_interp_method as get_interp
  
      oh, ow, _ = src.shape
      return mx.image.imresize(
          src, w, h, interp=get_interp(interp, (oh, ow, h, w))
      )
  
file_path: gluon-cv/gluoncv/data/transforms/image.py
imports: from __future__ import division
  import random
  import numpy
  import mxnet
  from mxnet import nd
  from mxnet.base import numeric_types
label_desc: Use image node_id 1 for calling a global function with example usage: imresize(src, w, h, interp) and returns: mx