Eig
torch_eig(self, eigenvectors = FALSE)
self | (Tensor) the square matrix of shape \((n \times n)\) for which the eigenvalues and eigenvectors will be computed |
---|---|
eigenvectors | (bool) |
Since eigenvalues and eigenvectors might be complex, backward pass is supported only for [`torch_symeig`]
Computes the eigenvalues and eigenvectors of a real square matrix.