leezu commented on a change in pull request #18083:
URL: https://github.com/apache/incubator-mxnet/pull/18083#discussion_r412613930



##########
File path: python/mxnet/gluon/metric.py
##########
@@ -24,9 +24,9 @@
 
 import numpy

Review comment:
       Instead of using numpy, we can use `mxnet.numpy` as it runs 
asynchronously and has GPU support.
   The summary states of a metric should be stored on CPU, but if for example 
data and label are on GPU and input to the metric, we can calculate the 
sufficient statistics on GPU




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to