class_docstr: Functional tests for ExtractVolumePatches op.
class_docstr_tok: ["Functional","tests","for","ExtractVolumePatches","op","."]
docstr: Test for 2x2x2 kernel with SAME padding.
docstr_tok: ["Test","for","2x2x2","kernel","with","SAME","padding","."]
code: def testKsize2x2x2Stride1x1x1Same(self):
      """Test for 2x2x2 kernel with SAME padding."""
      image = np.arange(8).reshape([1, 2, 2, 2, 1]) + 1
      patches = np.array(
          [
              [
                  [
                      [
                          [1, 2, 3, 4, 5, 6, 7, 8],
                          [2, 0, 4, 0, 6, 0, 8, 0],
                      ],
                      [
                          [3, 4, 0, 0, 7, 8, 0, 0],
                          [4, 0, 0, 0, 8, 0, 0, 0],
                      ],
                  ],
                  [
                      [
                          [5, 6, 7, 8, 0, 0, 0, 0],
                          [6, 0, 8, 0, 0, 0, 0, 0],
                      ],
                      [
                          [7, 8, 0, 0, 0, 0, 0, 0],
                          [8, 0, 0, 0, 0, 0, 0, 0],
                      ],
                  ],
              ]
          ]
      )
      self._VerifyValues(
          image,
          ksizes=[2, 2, 2],
          strides=[1, 1, 1],
          padding="SAME",
          patches=patches,
      )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/image_ops/extract_volume_patches_op_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  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 ExtractVolumePatches obj's underlying member method code with example usage: obj.testKsize2x2x2Stride1x1x1Same() without return types