code: def permute_dims(x: Array, /, axes: Tuple[int, ...]) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.transpose <numpy.transpose>`.
  
      See its docstring for more information.
      """
      return Array._new(np.transpose(x._array, axes))
  
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 4 for calling a global function with example usage: permute_dims(axes) and returns: Array