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 2018/09/05 00:33:26 UTC

[GitHub] anirudhacharya edited a comment on issue #12376: [MXNET-854] SVRG Optimization in Python Module API

anirudhacharya edited a comment on issue #12376: [MXNET-854] SVRG Optimization in Python Module API
URL: https://github.com/apache/incubator-mxnet/pull/12376#issuecomment-418560699
 
 
   @StephanieYuan Also the way `svrg_optimizer.py` is written it leaves a few questions open. 
   
   From your design document I understand that SVRGOptimizer cannot be used with Module API which is why you wrote the SVRGModule API which will use SVRGOptimizer under the hood instead of the usual SGD or other optimizers. Can you explain why in greater detail?
   
   Also if this is indeed the case, then the **SVRGOptimizer class needs to be declared private using a leading underscore in its name**, else it will be very misleading to the user who might try to use SVRGOptimizer with the plain vanilla Module API. Also it should be made clear in the doc string for the SRVGOptimizer that this optimizer is to be used with the SVRGModule alone.
   
   Also you might want to consider moving the SVRGOptimizer to the `optimizer.py` file and keep SVRGModule alone in the `contrib` folder. But I am not sure of this, you might want to get a second opinion on this. @piiswrong @eric-haibin-lin 

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


With regards,
Apache Git Services