code: def squeeze(x: Array, /, axis: Union[int, Tuple[int, ...]]) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.squeeze <numpy.squeeze>`.
  
      See its docstring for more information.
      """
      return Array._new(np.squeeze(x._array, axis=axis))
  
file_path: cupy/cupy/array_api/_manipulation_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._data_type_functions import result_type
  from typing import List, Optional, Tuple, Union
  import cupy
label_desc: Use image node_id 7 for calling a global function with example usage: squeeze(axis) and returns: Array