mindspore.ops.UnsortedSegmentSum

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

等价于

ops.unsorted_segment_sum(input_x, segment_ids, num_segments)

更多详情请查看: mindspore.ops.unsorted_segment_sum()