<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/linalg.py#L179-L193) |

Computes the eigenvalues and eigenvectors of a complex Hermitian.

#### View aliases


**Main aliases**

[`tf.keras.ops.linalg.eigh`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/eigh)

<br />

    tf.keras.ops.eigh(
        x
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor of shape `(..., M, M)`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A tuple of two tensors: a tensor of shape `(..., M)` containing eigenvalues and a tensor of shape `(..., M, M)` containing eigenvectors. ||

<br />