class_docstr: Functional tests for ExtractImagePatches op.
class_docstr_tok: ["Functional","tests","for","ExtractImagePatches","op","."]
docstr: Test for 2x2 kernel with VALID padding.
docstr_tok: ["Test","for","2x2","kernel","with","VALID","padding","."]
code: def testKsize2x2Stride1x1Rate1x1ValidDepth2(self):
      """Test for 2x2 kernel with VALID padding."""
      # [1, 2, 2, 2]
      image = [[[[1, 5], [2, 6]], [[3, 7], [4, 8]]]]
      # [1, 1, 1, 8]
      patches = [[[[1, 5, 2, 6, 3, 7, 4, 8]]]]
      self._VerifyValues(
          image,
          ksizes=[2, 2],
          strides=[1, 1],
          rates=[1, 1],
          padding="VALID",
          patches=patches,
      )
  
file_path: tensorflow/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 7 for calling the ExtractImagePatches obj's underlying member method code with example usage: obj.testKsize2x2Stride1x1Rate1x1ValidDepth2() without return types