O Google I / O retorna de 18 a 20 de maio! Reserve espaço e monte sua agenda Cadastre-se agora

tf.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[..., :, :].