code: def eigh(x, /):
      """
      Returns an eigenvalue decomposition of a complex Hermitian or real symmetric matrix (or a stack of matrices) x.
      """
      eigenvalues, eigenvectors = jax.numpy.linalg.eigh(x)
      return EighResult(
          eigenvalues=eigenvalues, eigenvectors=eigenvectors
      )
  
imports: from functools import partial
  from typing import NamedTuple
  import jax
  from jax.experimental.array_api._data_type_functions import _promote_to_default_dtype
label_desc: Use image node_id 5 for calling a global function with example usage: eigh() and returns: EighResult