eric-haibin-lin commented on issue #11124: make slice operator 20x faster on GPU
URL: https://github.com/apache/incubator-mxnet/pull/11124#issuecomment-419574397
 
 
   @BiranLi i'm using this test code:
   ```
   import mxnet as mx
   import time
   
   a = mx.nd.ones((512, 8192), ctx=mx.gpu())
   for i in range(10):
       b = a.slice(begin=(None, 4), end=(None, None))
   
   mx.nd.waitall()
   t0 = time.time()
   for i in range(1000):
       b = a.slice(begin=(None, 4), end=(None, None))
   
   mx.nd.waitall()
   t1 = time.time()
   print(t1 - t0)
   
   ```
   What did you use? Are you on slack? 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to