tf.linalg.eigvalsh

Aliases:

  • tf.linalg.eigvalsh
  • tf.self_adjoint_eigvals
tf.linalg.eigvalsh(
    tensor,
    name=None
)

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

Computes the eigenvalues of one or more self-adjoint matrices.

Args:

  • tensor: Tensor of shape [..., N, N].
  • name: string, optional name of the operation.

Returns:

  • e: Eigenvalues. Shape is [..., N]. The vector e[..., :] contains the N eigenvalues of tensor[..., :, :].