code: def test_imresize(backend, size, channel_first, img):
      _change_backend(backend)
  
      channel_axis = 0
      if channel_first and len(img.shape) == 3:
          img = img.transpose((2, 0, 1))
          channel_axis = 1
  
      resized_img = image_utils.imresize(
          img, size, channel_first=channel_first
      )
  
      assert resized_img.shape[channel_axis : channel_axis + 2] == size
  
file_path: nnabla/python/test/utils/test_image_utils.py
imports: from __future__ import division
  import pytest
  import numpy
  from nnabla.utils import image_utils
  from nnabla.logger import logger
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 6 for calling a global function with example usage: test_imresize(backend, size, channel_first, img) without return types