code: def test_extract_patches(self):
      x = KerasTensor([20, 20, 3])
      p_h, p_w = 5, 5
      out = kimage.extract_patches(x, (p_h, p_w))
      self.assertEqual(out.shape, (4, 4, 75))
      out = kimage.extract_patches(x, 5)
      self.assertEqual(out.shape, (4, 4, 75))
  
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 3 for calling the ImageOpsStaticShapeTest obj's underlying member method code with example usage: obj.test_extract_patches() without return types