code: def _cumulative_broadcast_static(event_shape):
      broadcast_shapes = [s[:-1] for s in event_shape]
      cumulative_shapes = [broadcast_shapes[0]]
      for shape in broadcast_shapes[1:]:
          out_shape = tf.broadcast_static_shape(
              shape, cumulative_shapes[-1]
          )
          cumulative_shapes.append(out_shape)
      return [
          b.concatenate(s[-1])
          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 1 for calling a global function with example usage: _cumulative_broadcast_static(event_shape) and returns: unknown