code: def transpose(a, axes=None):
      """Permutes the dimensions of an array.
  
      Args:
          a (cupy.ndarray): Array to permute the dimensions.
          axes (tuple of ints): Permutation of the dimensions. This function
              reverses the shape by default.
  
      Returns:
          cupy.ndarray: A view of ``a`` that the dimensions are permuted.
  
      .. seealso:: :func:`numpy.transpose`
  
      """
      # TODO(okuta): check type
      return a.transpose(axes)
  
imports: from cupy import _core
  from cupy._core import _routines_manipulation
label_desc: Use image node_id 4 for calling a global function with example usage: transpose(a, axes) and returns: a