torch.linalg.ldl_factor_ex
torch.linalg.ldl_factor_ex(A, *, hermitian=False, check_errors=False, out=None)
This is a version of "ldl_factor()" that does not perform error
   checks unless "check_errors"= True. It also returns the "info"
   tensor returned by LAPACK's sytrf. "info" stores integer error
   codes from the backend library. A positive integer indicates the
   diagonal element of D that is zero. Division by 0 will occur if the
   result is used for solving a system of linear equations. "info"
   filled with zeros indicates that the factorization was successful.
   If "check_errors=True" and "info" contains positive integers, then
   a RuntimeError is thrown.
Note:
 When the inputs are on a CUDA device, this function synchronizes
 only when "check_errors"*= True*.

Warning:
 This function is "experimental" and it may change in a future
 PyTorch release.

Parameters:
      A (Tensor) -- tensor of shape (*, n, n) where * is zero or