chainerx.linalg.eigvalsh¶
-
chainerx.linalg.
eigvalsh
(a, UPLO='L')¶ Compute the eigenvalues of a real symmetric matrix.
Main difference from eigh: the eigenvectors are not computed.
- Parameters
- Returns
Returns eigenvalues as a vector.
- Return type
Note
The
dtype
must befloat32
orfloat64
(float16
is not supported yet.)Backpropagation requires eigenvectors and, therefore, is not implemented for this function.
linalg.eigh
should be used instead.
See also