code: def eigvals(
      x: Union[tf.Tensor, tf.Variable],
      /,
  ) -> Union[tf.Tensor, tf.Variable]:
      return tf.linalg.eigvals(x)
  
file_path: ivy/ivy/functional/backends/tensorflow/experimental/linear_algebra.py
imports: from typing import Union, Optional, Tuple, List, Sequence
  import tensorflow
  from functools import reduce
  import ivy
  from ivy.functional.ivy.experimental.linear_algebra import _check_valid_dimension_size
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.utils.exceptions import IvyNotImplementedException
  from ..None import backend_version
label_desc: Use image node_id 6 for calling a global function with example usage: eigvals() and returns: tf