This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new 4a619ba  remove the extra @register (#9769)
4a619ba is described below

commit 4a619ba0e503e3eb6ff0b44c12a3c23bc5cabcc9
Author: lianwj <>
AuthorDate: Mon Feb 12 19:25:08 2018 +0800

    remove the extra @register (#9769)
    Two "@register" lead to warning "UserWarning: WARNING: New optimizer 
mxnet.optimizer.NAG is overriding existing optimizer mxnet.optimizer.NAG 
Optimizer.opt_registry[name].name))" while importing mxnet.
 python/mxnet/ | 1 -
 1 file changed, 1 deletion(-)

diff --git a/python/mxnet/ b/python/mxnet/
index 0856a7f..0652772 100644
--- a/python/mxnet/
+++ b/python/mxnet/
@@ -893,7 +893,6 @@ class DCASGD(Optimizer):
         weight[:] += mom
 class NAG(Optimizer):
     """Nesterov accelerated SGD.

To stop receiving notification emails like this one, please contact

Reply via email to