nudles commented on a change in pull request #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#discussion_r299967113
 
 

 ##########
 File path: python/singa/dist_opt.py
 ##########
 @@ -0,0 +1,27 @@
+from . import singa_wrap as singa
+
+class Dist_SGD(object):
 
 Review comment:
   rename to DistOpt?
   if you pass the sgd instance as an argument to DistOpt, then you can call it 
to do the real update.
   `dist_adam=DistOpt(Adam(), ndev=2)`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to