parameters: (src, size, interpolation=cv2.INTER_LINEAR)
return_statement: return mx.nd.NDArray(hdl)
docstring: Decode image from str buffer.
      Wrapper for cv2.imresize that uses mx.nd.NDArray
  
      Parameters
      ----------
      src : NDArray
          image in (width, height, channels)
      size : tuple
          target size in (width, height)
      interpolation : int
          same as interpolation for cv2.imresize
  
      Returns
      -------
      img : NDArray
          resized image
docstring_summary: Decode image from str buffer.
      Wrapper for cv2.imresize that uses mx.nd.NDArray
docstring_tokens: Decode image from str buffer . Wrapper for cv2 . imresize that uses mx . nd . NDArray
function: def resize(src, size, interpolation=cv2.INTER_LINEAR):
      """Decode image from str buffer.
      Wrapper for cv2.imresize that uses mx.nd.NDArray
  
      Parameters
      ----------
      src : NDArray
          image in (width, height, channels)
      size : tuple
          target size in (width, height)
      interpolation : int
          same as interpolation for cv2.imresize
  
      Returns
      -------
      img : NDArray
          resized image
      """
      hdl = NDArrayHandle()
      check_call(_LIB.MXCVResize(src.handle, mx_uint(size[0]), mx_uint(size[1]),
                                 interpolation, ctypes.byref(hdl)))
      return mx.nd.NDArray(hdl)
function_tokens: def resize ( src , size , interpolation = cv2 . INTER_LINEAR ) : hdl = NDArrayHandle ( ) check_call ( _LIB . MXCVResize ( src . handle , mx_uint ( size [ 0 ] ) , mx_uint ( size [ 1 ] ) , interpolation , ctypes . byref ( hdl ) ) ) return mx . nd . NDArray ( hdl )