tf.keras.ops.cholesky_inverse

Computes the inverse of a symmetric positive-definite matrix.

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

Determines whether to use the upper- or lower-triangular factor for the internal computation. Defaults to False.

A tensor of shape (..., M, M) representing the inverse of x.

ValueError If x is not a symmetric positive-definite matrix.