code: def polyval(
      coeffs: Union[ivy.Array, ivy.NativeArray],
      x: Union[ivy.Array, ivy.NativeArray],
  ):
      """Evaluate and return a polynomial at specific given values.
  
      Parameters
      ----------
      coeffs
          Polynomial coefficients (including zero) from highest degree to constant term.
      x
          The value of the indeterminate variable at which to evaluate the polynomial.
  
      Returns
      -------
      ret
         Simplified result of substituting x in the coefficients - final value
         of polynomial.
  
      Examples
      --------
      >>> ivy.polyval([3, 0, 1], 5)
      ivy.array(76)
      """
      return ivy.current_backend().polyval(
          coeffs,
          x,
      )
  
imports: from typing import Union, Tuple, Optional, Sequence, Iterable, Generator
  import warnings
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.utils.exceptions import handle_exceptions
  from ivy.func_wrapper import outputs_to_ivy_arrays, handle_nestable, to_native_arrays_and_back, handle_out_argument, infer_dtype, handle_array_like_without_promotion, inputs_to_ivy_arrays, handle_device, handle_backend_invalid, handle_array_function
label_desc: Use image node_id 24 for calling a global function with example usage: polyval(coeffs, x) and returns: ivy