code: def flip(x, axis):
      """Flips an input variable in reverse order along the given axis.
  
      Args:
          x (:class:`~chainer.Variable` or :ref:`ndarray`):
              Input variable.
          axis (int): Axis along which the input variable is reversed.
  
      Returns:
          ~chainer.Variable: Output variable.
  
      """
      return Flip(axis).apply((x,))[0]
  
file_path: chainer/chainer/functions/array/flip.py
imports: import six
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling a global function with example usage: flip(x, axis) and returns: Flip