This is an automated email from the ASF dual-hosted git repository. haibin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
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 <will.l...@live.com> 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/optimizer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/mxnet/optimizer.py b/python/mxnet/optimizer.py index 0856a7f..0652772 100644 --- a/python/mxnet/optimizer.py +++ b/python/mxnet/optimizer.py @@ -893,7 +893,6 @@ class DCASGD(Optimizer): weight[:] += mom @register -@register class NAG(Optimizer): """Nesterov accelerated SGD. -- To stop receiving notification emails like this one, please contact hai...@apache.org.