class_docstr: Functional tests for ExtractImagePatches op.
class_docstr_tok: ["Functional","tests","for","ExtractImagePatches","op","."]
docstr: Verifies that for 1x1 kernel the output equals the input.
docstr_tok: ["Verifies","that","for","1x1","kernel","the","output","equals","the","input","."]
code: def testKsize1x1Stride1x1Rate1x1(self):
      """Verifies that for 1x1 kernel the output equals the input."""
      # [2, 3, 4, 5]
      image = np.reshape(range(120), [2, 3, 4, 5])
      # [2, 3, 4, 5]
      patches = np.reshape(range(120), [2, 3, 4, 5])
      for padding in ["VALID", "SAME"]:
          self._VerifyValues(
              image,
              ksizes=[1, 1],
              strides=[1, 1],
              rates=[1, 1],
              padding=padding,
              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 2 for calling the ExtractImagePatches obj's underlying member method code with example usage: obj.testKsize1x1Stride1x1Rate1x1() without return types