code: def _flip(a, axes):
      # This function flips array without checking args.
      indexer = [slice(None)] * a.ndim
      for ax in axes:
          indexer[ax] = slice(None, None, -1)
  
      return a[tuple(indexer)]
  
file_path: cupy/cupy/_manipulation/rearrange.py
imports: import itertools
  import numpy
  import cupy
  from cupy._core import internal
label_desc: Use image node_id 6 for calling a global function with example usage: _flip(a, axes) and returns: a