release."L = torch.cholesky(A)" should be replaced with
    L = torch.linalg.cholesky(A)

 "U = torch.cholesky(A, upper=True)" should be replaced with

    U = torch.linalg.cholesky(A).mH

 This transform will produce equivalent results for all valid
 (symmetric positive definite) inputs.

Parameters:
      * input (Tensor) -- the input tensor A of size (*, n, n)
        where *** is zero or more batch dimensions consisting of
        symmetric positive-definite matrices.
  * **upper** (*bool**, **optional*) -- flag that indicates
    whether to return a upper or lower triangular matrix. Default:
    "False"

Keyword Arguments:
      out (Tensor, optional) -- the output matrix
Example:
  >>> a = torch.randn(3, 3)
  >>> a = a @ a.mT + 1e-3 # make symmetric positive-definite
  >>> l = torch.cholesky(a)
  >>> a
  tensor([[ 2.4112, -0.7486,  1.4551],
          [-0.7486,  1.3544,  0.1294],
