tf.eig

View source on GitHub

Computes the eigen decomposition of a batch of matrices.

tf.eig(
    tensor, name=None
)

The eigenvalues and eigenvectors for a non-Hermitian matrix in general are complex. The eigenvectors are not guaranteed to be linearly independent.

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

Args:

Returns: