View source on GitHub |
Computes the eigenvalues and eigenvectors of a square matrix.
tf.keras.ops.eig(
x
)
Args | |
---|---|
x
|
Input tensor of shape (..., M, M) .
|
Returns | |
---|---|
A tuple of two tensors: a tensor of shape (..., M) containing
eigenvalues and a tensor of shape (..., M, M) containing eigenvectors.
|