Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.linalg.eigvalsh

TensorFlow 2 version View source on GitHub

Computes the eigenvalues of one or more self-adjoint matrices.

tensor Tensor of shape [..., N, N].
name string, optional name of the operation.

e Eigenvalues. Shape is [..., N]. The vector e[..., :] contains the N eigenvalues of tensor[..., :, :].