code: def swapaxes(x, axis1, axis2):
      """Swap two axes of a variable.
  
      Args:
          x (:class:`~chainer.Variable` or :ref:`ndarray`): Input variable.
              A :math:`(s_1, s_2, ..., s_N)` -shaped float array.
          axis1 (int): The first axis to swap.
          axis2 (int): The second axis to swap.
  
      Returns:
          ~chainer.Variable: Variable whose axes are swapped.
  
      .. admonition:: Example
  
          >>> x = np.array([[[0, 1, 2], [3, 4, 5]]], np.float32)
          >>> x.shape
          (1, 2, 3)
          >>> y = F.swapaxes(x, axis1=0, axis2=1)
          >>> y.shape
          (2, 1, 3)
          >>> y.array
          array([[[0., 1., 2.]],
          <BLANKLINE>
                 [[3., 4., 5.]]], dtype=float32)
  
      """
      (y,) = Swapaxes(axis1, axis2).apply((x,))
      return y
  
file_path: chainer/chainer/functions/array/swapaxes.py
imports: from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling a global function with example usage: swapaxes(x, axis1, axis2) and returns: y