code: def testComplexTypes(self):
      for t in [np.complex64, np.complex128]:
          x = np.random.rand(2, 5).astype(t)
          self._testAll(x + 1j * x, [[1, 0], [2, 0]], 1234.0 - 1234.0j)
          x = np.random.rand(3, 2, 1, 1).astype(t)
          self._testAll(
              x + 1j * x, [[0, 0], [0, 0], [0, 0], [0, 0]], 0 + 0j
          )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.platform import test
label_desc: Use image node_id 21 for calling the PadOpTest obj's underlying member method code with example usage: obj.testComplexTypes() without return types