torch.linalg.svdvals
- torch.linalg.svdvals(A, *, driver=None, out=None) → Tensor
Computes the singular values of a matrix.
Supports input of float, double, cfloat and cdouble dtypes. Also supports batches of matrices, and if is a batch of matrices then the output has the same batch dimensions.