code: def testSymmetricPositiveDefinite(self):
      # 2x2 matrices
      matrix1 = np.array([[2.0, 1.0], [1.0, 2.0]])
      matrix2 = np.array([[3.0, -1.0], [-1.0, 3.0]])
      self._verifyInverseReal(matrix1)
      self._verifyInverseReal(matrix2)
      # A multidimensional batch of 2x2 matrices
      self._verifyInverseReal(self._makeBatch(matrix1, matrix2))
      matrix1 = matrix1.astype(np.complex64)
      matrix1 += 1j * matrix1
      matrix2 = matrix2.astype(np.complex64)
      matrix2 += 1j * matrix2
      self._verifyInverseComplex(matrix1)
      self._verifyInverseComplex(matrix2)
      # Complex batch
      self._verifyInverseComplex(self._makeBatch(matrix1, matrix2))
  
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 ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the InverseOpTest obj's underlying member method code with example usage: obj.testSymmetricPositiveDefinite() without return types