code: def argmax(
      x: Array, /, *, axis: Optional[int] = None, keepdims: bool = False
  ) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.argmax <numpy.argmax>`.
  
      See its docstring for more information.
      """
      return Array._new(
          np.asarray(np.argmax(x._array, axis=axis, keepdims=keepdims))
      )
  
file_path: cupy/cupy/array_api/_searching_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._dtypes import _result_type
  from typing import Optional, Tuple
  import cupy
label_desc: Use image node_id 1 for calling a global function with example usage: argmax() and returns: Array