mindspore.ops.UnsortedSegmentSum

class mindspore.ops.UnsortedSegmentSum[source]
prim = ops.UnsortedSegmentSum()
out = prim(input_x, segment_ids, num_segments)

is equivalent to

ops.unsorted_segment_sum(input_x, segment_ids, num_segments)

Refer to mindspore.ops.unsorted_segment_sum() for more details.