masahi commented on a change in pull request #6978: URL: https://github.com/apache/tvm/pull/6978#discussion_r543995039
########## File path: python/tvm/topi/cuda/sort.py ########## @@ -315,6 +315,89 @@ def argsort_nms_thrust(data, valid_count, axis=-1, is_ascend=1, dtype="float32") return out[1] +def sort(data, axis=-1, is_ascend=1): + """Performs sorting along the given axis and returns an array of indicies + having same shape as an input array that index data in sorted order. Review comment: This seems the doc for argsort ---------------------------------------------------------------- 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