reminisce commented on issue #10368: asscalar is very slow URL: https://github.com/apache/incubator-mxnet/issues/10368#issuecomment-377963542 How did you time it? `asscalar` is a blocking function call, while the other lines are async. It would not be accurate to simply time it line by line in Python. You will need to add `mx.nd.waitall()` before the last line to time the training part reasonably.
---------------------------------------------------------------- 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