code: def apply_slices(inputs, indices):
      if inputs is None:
          return inputs
  
      if isinstance(inputs, (list, tuple)):
          return [apply_slices(input_, indices) for input_ in inputs]
  
      return inputs[indices]
  
file_path: neupy/neupy/utils/iters.py
imports: from __future__ import division
  import math
  import numpy
  import progressbar
  from neupy.utils.misc import as_tuple
label_desc: Use image node_id 3 for calling a global function with example usage: apply_slices(inputs, indices) and returns: inputs, inputs, unknown