tf.linalg.eigh

Computes the eigen decomposition of a batch of self-adjoint matrices.

Used in the notebooks

Used in the tutorials

Computes the eigenvalues and eigenvectors of the innermost N-by-N matrices in tensor such that tensor[...,:,:] * v[..., :,i] = e[..., i] * v[...,:,i], for i=0...N-1.

tensorTensor of shape [..., N, N]. Only the lower triangular part of each inner inner matrix is referenced.
namestring, optional name of the operation.

eEigenvalues. Shape is [..., N]. Sorted in non-decreasing order.
vEigenvectors. Shape is [..., N, N]. The columns of the inner most matrices contain eigenvectors of the corresponding matrices in tensor