code: def test_pad_images(self):
      x = KerasTensor([None, 15, 25, 3])
      out = kimage.pad_images(
          x, 2, 3, target_height=20, target_width=30
      )
      self.assertEqual(out.shape, (None, 20, 30, 3))
  
      x = KerasTensor([None, None, 3])
      out = kimage.pad_images(
          x, 2, 3, target_height=20, target_width=30
      )
      self.assertEqual(out.shape, (20, 30, 3))
  
imports: import math
  import numpy
  import pytest
  import scipy.ndimage
  import tensorflow
  from absl.testing import parameterized
  from keras import backend
  from keras import testing
  from keras.backend.common.keras_tensor import KerasTensor
  from keras.ops import image
label_desc: Use image node_id 5 for calling the ImageOpsDynamicShapeTest obj's underlying member method code with example usage: obj.test_pad_images() without return types