Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.linalg.eigvals

View source on GitHub

Computes the eigenvalues of one or more 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[..., :, :].