torch.cholesky
torch.cholesky(input, upper=False, *, out=None) -> Tensor
Computes the Cholesky decomposition of a symmetric positive-
   definite matrix A or for batches of symmetric positive-definite
   matrices.
If "upper" is "True", the returned matrix "U" is upper-triangular,
   and the decomposition has the form:
  A = U^TU

If "upper" is "False", the returned matrix "L" is lower-triangular,
   and the decomposition has the form:
  A = LL^T

If "upper" is "True", and A is a batch of symmetric positive-
   definite matrices, then the returned tensor will be composed of
   upper-triangular Cholesky factors of each of the individual
   matrices. Similarly, when "upper" is "False", the returned tensor
   will be composed of lower-triangular Cholesky factors of each of
   the individual matrices.
Warning:
 "torch.cholesky()" is deprecated in favor of
 "torch.linalg.cholesky()" and will be removed in a future PyTorch
