torch.cholesky_inverse
torch.cholesky_inverse(input, upper=False, *, out=None) -> Tensor
Computes the inverse of a symmetric positive-definite matrix A
   using its Cholesky factor u: returns matrix "inv". The inverse is
   computed using LAPACK routines "dpotri" and "spotri" (and the
   corresponding MAGMA routines).
If "upper" is "False", u is lower triangular such that the returned
   tensor is
  inv = (uu^{{T}})^{{-1}}

If "upper" is "True" or not provided, u is upper triangular such
   that the returned tensor is
  inv = (u^T u)^{{-1}}

Supports input of float, double, cfloat and cdouble dtypes. Also
   supports batches of matrices, and if A is a batch of matrices then
   the output has the same batch dimensions.
Parameters:
      * input (Tensor) -- the input tensor A of size (*, n, n),
        consisting of symmetric positive-definite matrices where * is
        zero or more batch dimensions.