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/05/01 19:03:10 UTC

[GitHub] leezu opened a new pull request #10768: Use numpy in RandomSampler

leezu opened a new pull request #10768: Use numpy in RandomSampler
URL: https://github.com/apache/incubator-mxnet/pull/10768
 
 
   Significant speedup for large datasets:
   
   In [2]: %timeit current_sample(1529*8192)
   12.3 s ± 721 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
   
   In [3]: %timeit np_sample(1529*8192)
   641 ms ± 6.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

----------------------------------------------------------------
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