code: def testRandomSmallAndLargeComplex64(self):
      np.random.seed(42)
      for batch_dims in [(), (1,), (3,), (2, 2)]:
          for size in 8, 31, 32:
              shape = batch_dims + (size, size)
              matrix = (
                  np.random.uniform(
                      low=-1.0, high=1.0, size=np.prod(shape)
                  )
                  .reshape(shape)
                  .astype(np.complex64)
              )
              self._verifyLogarithmComplex(matrix)
  
imports: import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import gen_linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import stateless_random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg_impl
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the LogarithmOpTest obj's underlying member method code with example usage: obj.testRandomSmallAndLargeComplex64() without return types