You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/26 05:59:13 UTC

[GitHub] xinyu-intel commented on issue #10205: [Operator] Accelerate the CPU side performance of topk

xinyu-intel commented on issue #10205: [Operator] Accelerate the CPU side performance of topk
URL: https://github.com/apache/incubator-mxnet/issues/10205#issuecomment-376054989
 
 
   @mjpost @asmushetzel @pengzhao-intel  Really thanks! Because I cannot find the real case, so my input is `np.random.rand(10,3,1000,1000)` and got the following result:
   
   Time to do Parse and initialize is 4.120000 seconds
   Time to perform SortByKey is 38.850000 seconds
   Time to Assign results is 1.490000 seconds
   
   It proves that the SortByKey operation(which use `std::stable_sort`) costs the most time and replaced with `std::partial_sort()` can be better:)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services