code: def _compareDeterminant(self, matrix_x):
      with test_util.use_gpu():
          self._compareDeterminantBase(
              matrix_x, linalg_ops.matrix_determinant(matrix_x)
          )
          self._compareLogDeterminantBase(
              matrix_x, gen_linalg_ops.log_matrix_determinant(matrix_x)
          )
  
imports: import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  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 linalg_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 3 for calling the DeterminantOpTest obj's underlying member method code with example usage: obj._compareDeterminant(matrix_x) without return types