code: def _apply_slice_sequence(
      batch_object, slice_overrides_seq, bijector_x_event_ndims=None
  ):
      """Applies a sequence of slice or copy-with-overrides operations to `batch_object`."""
      for slices, overrides in slice_overrides_seq:
          batch_object = _apply_single_step(
              batch_object,
              slices,
              overrides,
              bijector_x_event_ndims=bijector_x_event_ndims,
          )
      return batch_object
  
file_path: probability/tensorflow_probability/python/internal/slicing.py
imports: import collections
  import functools
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import batch_shape_lib
  from tensorflow_probability.python.internal import prefer_static
label_desc: Use image node_id 5 for calling a global function with example usage: _apply_slice_sequence(batch_object, slice_overrides_seq, bijector_x_event_ndims) and returns: batch_object