tf.keras.ops.det

Computes the determinant of a square tensor.

x Input tensor of shape (..., M, M).

A tensor of shape (...,) representing the determinant of x.