code: def test_batch_resize(self):
      image_url_dir = current_file_dir + "/images"
      sa = image_analysis.load_images(
          image_url_dir, "auto", with_path=False
      )["image"]
      for new_channels in [1, 3, 4]:
          sa_resized = image_analysis.resize(sa, 320, 280, new_channels)
          for i in sa_resized:
              self.assertEqual(i.width, 320)
              self.assertEqual(i.height, 280)
              self.assertEqual(i.channels, new_channels)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import array
  import unittest
  from PIL import Image
  import os
  from ..data_structures import image
  from ..None import SArray
  from ..toolkits.image_analysis import image_analysis
  from ..toolkits._main import ToolkitError
  from .._deps import numpy, HAS_NUMPY
label_desc: Use image node_id 6 for calling the ImageClassTest obj's underlying member method code with example usage: obj.test_batch_resize() without return types