This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!12681
Fix error format of api comments.
From:
@zhang_yi2020
Reviewed-by: @liangchenghui,@zhunaipan Signed-off-by:
@liangchenghui
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
4 years ago
parent
5524280075
7b05971b49
commit
53f5fdaff5
1 changed files
with
4 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
mindspore/nn/optim/momentum.py
+ 4
- 4
mindspore/nn/optim/momentum.py
View File
@@ -49,13 +49,13 @@ class Momentum(Optimizer):
If use_nesterov is True:
If use_nesterov is True:
.. math::
p_{t} = p_{t-1} - (grad \ast lr + v_{t} \ast u \ast lr)
.. math::
p_{t} = p_{t-1} - (grad \ast lr + v_{t} \ast u \ast lr)
If use_nesterov is Flase:
If use_nesterov is Flase:
.. math::
p_{t} = p_{t-1} - lr \ast v_{t}
.. math::
p_{t} = p_{t-1} - lr \ast v_{t}
Here: where grad, lr, p, v and u denote the gradients, learning_rate, params, moments, and momentum respectively.
Here: where grad, lr, p, v and u denote the gradients, learning_rate, params, moments, and momentum respectively.
Write
Preview
Loading…
Cancel
Save