code: def eigvals(x: JaxArray, /) -> JaxArray:
      return jnp.linalg.eigvals(x)
  
imports: import math
  from typing import Optional, Tuple, Sequence, Union
  import jax.numpy
  import jax.scipy.linalg
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.backends.jax import JaxArray
  import ivy
  from ivy.functional.ivy.experimental.linear_algebra import _check_valid_dimension_size
  from ivy.utils.exceptions import IvyNotImplementedException
  from .None import backend_version
label_desc: Use image node_id 5 for calling a global function with example usage: eigvals() and returns: jnp