ptrendx commented on a change in pull request #13346: Aggregate SGD
URL: https://github.com/apache/incubator-mxnet/pull/13346#discussion_r245420002
##########
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:
It is not really a parameter though - it is up to the optimizer (not the
user) to override this value if they support aggregated execution.
----------------------------------------------------------------
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