torch.svd
- torch.svd(input, some=True, compute_uv=True, *, out=None)
Computes the singular value decomposition of either a matrix or batch of matrices
input. The singular value decomposition is represented as a namedtuple , such that . where is the transpose of for real inputs, and the conjugate transpose of for complex inputs. If is a batch of matrices, then , , and are also batched with the same batch dimensions as .