tf.keras.ops.det

Computes the determinant of a square tensor.

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

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