eric-haibin-lin closed pull request #9769: remove the extra @register
URL: https://github.com/apache/incubator-mxnet/pull/9769
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/mxnet/optimizer.py b/python/mxnet/optimizer.py
index 0856a7f894..06527723a2 100644
--- a/python/mxnet/optimizer.py
+++ b/python/mxnet/optimizer.py
@@ -892,7 +892,6 @@ def update(self, index, weight, grad, state):
         previous_weight[:] = weight
         weight[:] += mom
 
-@register
 @register
 class NAG(Optimizer):
     """Nesterov accelerated SGD.


 

----------------------------------------------------------------
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

Reply via email to