code: def swapaxes(a, axis1, axis2):
      """Swaps the two axes.
  
      Args:
          a (cupy.ndarray): Array to swap the axes.
          axis1 (int): The first axis to swap.
          axis2 (int): The second axis to swap.
  
      Returns:
          cupy.ndarray: A view of ``a`` that the two axes are swapped.
  
      .. seealso:: :func:`numpy.swapaxes`
  
      """
      # TODO(okuta): check type
      return a.swapaxes(axis1, axis2)
  
imports: from cupy import _core
  from cupy._core import _routines_manipulation
label_desc: Use image node_id 2 for calling a global function with example usage: swapaxes(a, axis1, axis2) and returns: a