code: def _cumulative_broadcast_dynamic(event_shape):
      broadcast_shapes = [
          ps.slice(s, begin=[0], size=[ps.size(s) - 1])
          for s in event_shape
      ]
      cumulative_shapes = [broadcast_shapes[0]]
      for shape in broadcast_shapes[1:]:
          out_shape = ps.broadcast_shape(shape, cumulative_shapes[-1])
          cumulative_shapes.append(out_shape)
      return [
          ps.concat(
              [b, ps.slice(s, begin=[ps.size(s) - 1], size=[1])], axis=0
          )
          for b, s in zip(cumulative_shapes, event_shape)
      ]
  
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import parameter_properties
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
label_desc: Use image node_id 2 for calling a global function with example usage: _cumulative_broadcast_dynamic(event_shape) and returns: unknown