code: def flipped_idxs(ndim, axes):
      new_idxs = [slice(None)] * ndim
      for ax in axes:
          new_idxs[ax] = slice(None, None, -1)
      return tuple(new_idxs)
  
file_path: autograd/autograd/scipy/signal.py
imports: from __future__ import absolute_import
  from builtins import range, zip
  from functools import partial
  import autograd.numpy
  import numpy
  from autograd.extend import primitive, defvjp
  from numpy.lib.stride_tricks import as_strided
  from six import iteritems
label_desc: Use image node_id 6 for calling a global function with example usage: flipped_idxs(ndim, axes) and returns: tuple