TensorFlow 2.0 Beta is available Learn more

tf.compat.v2.sparse.segment_sum

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

Defined in python/ops/math_ops.py.