code: def _flip(array, axis):
      indices = [slice(None)] * array.ndim
      indices[axis] = slice(None, None, -1)
      return array[tuple(indices)]
  
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 1 for calling a global function with example usage: _flip(array, axis) and returns: array