class_docstr: Test resize_pil.
docstr: Test image resizing.
docstr_tok: ["Test","image","resizing","."]
code: def test_resize_pil(
      self, input_shape, num_batch_dims, h, w, output_shape
  ):
      """Test image resizing."""
      self.assertSequenceEqual(
          output_shape,
          image_utils.resize_pil(
              np.zeros(input_shape, dtype=np.uint8),
              num_batch_dims=num_batch_dims,
              out_h=h,
              out_w=w,
          ).shape,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from scenic.common_lib import image_utils
label_desc: Use image node_id 1 for calling the ResizePilTest obj's underlying member method code with example usage: obj.test_resize_pil(input_shape, num_batch_dims, h, w, output_shape) without return types