W3cubDocs

/TensorFlow Python

tf.self_adjoint_eig

Aliases:

  • tf.linalg.eigh
  • tf.self_adjoint_eig
tf.self_adjoint_eig(
    tensor,
    name=None
)

Defined in tensorflow/python/ops/linalg_ops.py.

See the guide: Math > Matrix Math Functions

Computes the eigen decomposition of a batch of self-adjoint matrices.

Computes the eigenvalues and 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]. Sorted in non-decreasing order.
  • v: Eigenvectors. Shape is [..., N, N]. The columns of the inner most matrices contain eigenvectors of the corresponding matrices in tensor

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/self_adjoint_eig