anirudhacharya commented on a change in pull request #13346: Aggregate SGD
URL: https://github.com/apache/incubator-mxnet/pull/13346#discussion_r245413349
 
 

 ##########
 File path: python/mxnet/optimizer/optimizer.py
 ##########
 @@ -105,6 +110,7 @@ def __init__(self, rescale_grad=1., param_idx2name=None, 
wd=0.,
         self._index_update_count = {}
         self.clip_gradient = clip_gradient
         self.multi_precision = multi_precision
+        self.aggregate_num = 0
 
 Review comment:
   ~~please add this in the parameter list in the class doc.~~

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to