You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/03/14 00:38:14 UTC

[GitHub] [incubator-mxnet] ptrendx commented on a change in pull request #14377: Correct update count with Gluon trainer and update_on_kvstore=False

ptrendx commented on a change in pull request #14377: Correct update count with Gluon trainer and update_on_kvstore=False
URL: https://github.com/apache/incubator-mxnet/pull/14377#discussion_r265384330
 
 

 ##########
 File path: python/mxnet/optimizer/optimizer.py
 ##########
 @@ -380,6 +381,11 @@ def set_wd_mult(self, args_wd_mult):
                     self.wd_mult[name] = float(attr[name]['__wd_mult__'])
         self.wd_mult.update(args_wd_mult)
 
+    def set_current_context(self, ctx):
+        if ctx not in self._all_index_update_counts:
 
 Review comment:
   Will do

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services