class_docstr: Functional tests for ExtractImagePatches op.
docstr: Test for complex data types
docstr_tok: ["Test","for","complex","data","types"]
code: def testComplexDataTypes(self):
      """Test for complex data types"""
      for dtype in [np.complex64, np.complex128]:
          image = (
              np.reshape(range(120), [2, 3, 4, 5]).astype(dtype)
              + np.reshape(range(120, 240), [2, 3, 4, 5]).astype(dtype)
              * 1j
          )
          patches = (
              np.reshape(range(120), [2, 3, 4, 5]).astype(dtype)
              + np.reshape(range(120, 240), [2, 3, 4, 5]).astype(dtype)
              * 1j
          )
          for padding in ["VALID", "SAME"]:
              self._VerifyValues(
                  image,
                  ksizes=[1, 1],
                  strides=[1, 1],
                  rates=[1, 1],
                  padding=padding,
                  patches=patches,
              )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/image_ops/extract_image_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.ops import math_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.testComplexDataTypes() without return types