code: def testDispatchedMethods(self):
      operator = linalg.LinearOperatorFullMatrix(
          [[1.0, 0.5], [0.5, 1.0]],
          is_square=True,
          is_self_adjoint=True,
          is_non_singular=True,
          is_positive_definite=True,
      )
      methods = {
          "trace": linalg.trace,
          "diag_part": linalg.diag_part,
          "log_abs_determinant": linalg.logdet,
          "determinant": linalg.det,
      }
      for method in methods:
          op_val = getattr(operator, method)()
          linalg_val = methods[method](operator)
          self.assertAllClose(
              self.evaluate(op_val), self.evaluate(linalg_val)
          )
      # Solve and Matmul go here.
  
      adjoint = linalg.adjoint(operator)
      self.assertIsInstance(adjoint, linalg.LinearOperator)
      cholesky = linalg.cholesky(operator)
      self.assertIsInstance(cholesky, linalg.LinearOperator)
      inverse = linalg.inv(operator)
      self.assertIsInstance(inverse, linalg.LinearOperator)
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.parallel_for import control_flow_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 18 for calling the LinearOperatorTest obj's underlying member method code with example usage: obj.testDispatchedMethods() without return types