tf.keras.ops.det

Computes the determinant of a square tensor.

Main aliases

tf.keras.ops.linalg.det

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

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