diff --git a/python/paddle/fluid/optimizer.py b/python/paddle/fluid/optimizer.py index 8c402cf9d5b34b67ec223298df146300276e04fa..92ae5ee074497d2f9f909de40e45de75c4270881 100644 --- a/python/paddle/fluid/optimizer.py +++ b/python/paddle/fluid/optimizer.py @@ -323,11 +323,11 @@ class MomentumOptimizer(Optimizer): & if (use\_nesterov): - & param = param - gradient * learning\_rate + mu * velocity * learning\_rate + &\quad param = param - gradient * learning\_rate + mu * velocity * learning\_rate & else: - & param = param - learning\_rate * velocity + &\quad param = param - learning\_rate * velocity Args: learning_rate (float|Variable): the learning rate used to update parameters. \