Missed TensorFlow World? Check out the recap. Learn more

tf.compat.v2.sparse.segment_sum

View source on GitHub
tf.compat.v2.sparse.segment_sum(
    data,
    indices,
    segment_ids,
    num_segments=None,
    name=None
)