class_docstr: Functional tests for ExtractImagePatches op.
docstr: Test for 2x2 kernel with 2x2 dilation.
docstr_tok: ["Test","for","2x2","kernel","with","2x2","dilation","."]
code: def testKsize2x2Stride1x1Rate2x2Valid(self):
      """Test for 2x2 kernel with 2x2 dilation."""
      # [1, 2, 2, 1]
      image = np.arange(16).reshape(1, 4, 4, 1).astype(np.float32)
      # [1, 2, 2, 4]
      patches = [
          [
              [[0, 2, 8, 10], [1, 3, 9, 11]],
              [[4, 6, 12, 14], [5, 7, 13, 15]],
          ]
      ]
      self._VerifyValues(
          image,
          ksizes=[2, 2],
          strides=[1, 1],
          rates=[2, 2],
          padding="VALID",
          patches=patches,
      )
  
file_path: tensorflow-upstream/tensorflow/compiler/tests/extract_image_patches_op_test.py
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the ExtractImagePatches obj's underlying member method code with example usage: obj.testKsize2x2Stride1x1Rate2x2Valid() without return types