zhangqianghd opened a new issue #8309: asnumpy is slowly ,how can I speed up it? URL: https://github.com/apache/incubator-mxnet/issues/8309 I use pretrained mod for prediction.I found asnumpy was slowly can took up most of the time. ``` import time # compute the predict probabilities now=time.time() mod.forward(Batch([mx.nd.array(data)])) mod_output=mod.get_outputs() print(time.time()-now) rlt=mod_output[0] print(time.time()-now) prob = rlt.asnumpy() print(time.time()-now) ``` >0.009676933288574219 >0.010257959365844727 >1.285344123840332 ---------------------------------------------------------------- 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: us...@infra.apache.org
With regards, Apache Git Services