code: def _LogMatrixDeterminantGrad(op: ops.Operation, _, grad_b):
      """Gradient for LogMatrixDeterminant."""
      a = op.inputs[0]
      c = op.outputs[1]
      a_adj_inv = linalg_ops.matrix_inverse(a, adjoint=True)
      multipliers = array_ops.reshape(
          grad_b, array_ops.concat([array_ops.shape(c), [1, 1]], 0)
      )
      return multipliers * a_adj_inv
  
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import gen_linalg_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.linalg import linalg_impl
label_desc: Use image node_id 5 for calling a global function with example usage: _LogMatrixDeterminantGrad(op, _, grad_b) and returns: unknown