tf.linalg.eig
Stay organized with collections Save and categorize content based on your preferences.
Computes the eigen decomposition of a batch of matrices.
View aliases
Main aliases
tf.eig
tf.linalg.eig( tensor, name=None )
Used in the notebooks
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 |
tensor | Tensor of shape [..., N, N] . Only the lower triangular part of each inner inner matrix is referenced. |
name | string, optional name of the operation. |
Returns |
e | Eigenvalues. Shape is [..., N] . The eigenvalues are not necessarily ordered. |
v | Eigenvectors. Shape is [..., N, N] . The columns of the inner most matrices contain eigenvectors of the corresponding matrices in tensor |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]