torch.qr
torch.qr(input, some=True, *, out=None)
Computes the QR decomposition of a matrix or a batch of matrices
   "input", and returns a namedtuple (Q, R) of tensors such that
   \text{input} = Q R with Q being an orthogonal matrix or batch of
   orthogonal matrices and R being an upper triangular matrix or batch
   of upper triangular matrices.
If "some" is "True", then this function returns the thin (reduced)
   QR factorization. Otherwise, if "some" is "False", this function
   returns the complete QR factorization.
Warning:
 "torch.qr()" is deprecated in favor of "torch.linalg.qr()" and
 will be removed in a future PyTorch release. The boolean
 parameter "some" has been replaced with a string parameter
 "mode"."Q, R = torch.qr(A)" should be replaced with

    Q, R = torch.linalg.qr(A)

 "Q, R = torch.qr(A, some=False)" should be replaced with

    Q, R = torch.linalg.qr(A, mode="complete")

Warning: