tf.keras.ops.inv

Computes the inverse of a square tensor.

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

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