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/10/15 15:37:47 UTC

[GitHub] [incubator-mxnet] wkcn commented on a change in pull request #16487: Fix learning rate scheduler being unexpectedly overwritten by optimizer's default value

wkcn commented on a change in pull request #16487: Fix learning rate scheduler being unexpectedly overwritten by optimizer's default value
URL: https://github.com/apache/incubator-mxnet/pull/16487#discussion_r335025198
 
 

 ##########
 File path: python/mxnet/optimizer/optimizer.py
 ##########
 @@ -63,8 +63,10 @@ class Optimizer(object):
     clip_gradient : float, optional, default None
         Clip the gradient by projecting onto the box ``[-clip_gradient, clip_gradient]``.
 
-    learning_rate : float, optional, default 0.01
-        The initial learning rate.
+    learning_rate : float, optional, default None
+        The initial learning rate. If None, the optimization will use the
+        learning rate from ``lr_scheduler``. If not None, it will overwrite
 
 Review comment:
   If None and lr_scheduler is None, lr is 0.01 by default.

----------------------------------------------------------------
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