code: def test_imresize(self):
      try:
          import cv2
      except ImportError:
          raise unittest.SkipTest("Unable to import cv2")
      for img in self.IMAGES:
          cv_img = cv2.imread(img)
          mx_img = mx.nd.array(cv_img[:, :, (2, 1, 0)])
          new_h = np.random.randint(1, 1000)
          new_w = np.random.randint(1, 1000)
          for interp_val in range(0, 2):
              cv_resized = cv2.resize(
                  cv_img, (new_w, new_h), interpolation=interp_val
              )
              mx_resized = mx.image.imresize(
                  mx_img, new_w, new_h, interp=interp_val
              )
              assert_almost_equal(
                  mx_resized.asnumpy()[:, :, (2, 1, 0)],
                  cv_resized,
                  atol=3,
              )
              out_img = mx.nd.zeros(
                  (new_h, new_w, 3), dtype=mx_img.dtype
              )
              mx.image.imresize(
                  mx_img, new_w, new_h, interp=interp_val, out=out_img
              )
              assert_almost_equal(
                  out_img.asnumpy()[:, :, (2, 1, 0)], cv_resized, atol=3
              )
  
imports: import os
  import mxnet
  import numpy
  import scipy.ndimage
  from mxnet.test_utils import *
  from common import xfail_when_nonstandard_decimal_separator
  import shutil
  import tempfile
  import unittest
  import pytest
label_desc: Use image node_id 11 for calling the TestImage obj's underlying member method code with example usage: obj.test_imresize() without return types