codeislife99 commented on a change in pull request #7149: URL: https://github.com/apache/tvm/pull/7149#discussion_r551089298
########## File path: python/tvm/relay/op/transform.py ########## @@ -1320,3 +1320,55 @@ def adv_index(inputs): Output tensor. """ return _make.adv_index(Tuple(inputs)) + + +def sparse_segment_sum(data, indices, segment_ids, num_segments=None): + """ + Compute the sparse segment sum on the indices over the segment_ids Review comment: I will include a link to the TF documentation which will make it clearer. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org