tf.linalg.eigh | TensorFlow v2.16.1 (original) (raw)
tf.linalg.eigh
Stay organized with collections Save and categorize content based on your preferences.
Computes the eigen decomposition of a batch of self-adjoint matrices.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.compat.v1.linalg.eigh, tf.compat.v1.self_adjoint_eig
tf.linalg.eigh(
tensor, name=None
)
Used in the notebooks
Used in the tutorials |
---|
Quantum data TFP Release Notes notebook (0.13.0) |
Computes the eigenvalues and eigenvectors of the innermost N-by-N matrices in tensor
such thattensor[...,:,:] * v[..., :,i] = e[..., i] * v[...,:,i]
, for i=0...N-1.
Args | |
---|---|
tensor | Tensor of shape [..., N, N]. Only the lower triangular part of each inner inner matrix is referenced. |
name | string, optional name of the operation. |
Returns | |
---|---|
e | Eigenvalues. Shape is [..., N]. Sorted in non-decreasing order. |
v | Eigenvectors. Shape is [..., N, N]. The columns of the inner most matrices contain eigenvectors of the corresponding matrices in tensor |