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
fix error words for api comments.
tags/v1.2.0-rc1
zhangyi
5 years ago
parent
11283ad812
commit
ff0cb148e4
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/nn/optim/momentum.py
+1
-1
mindspore/nn/optim/sgd.py
+ 1
- 1
mindspore/nn/optim/momentum.py
View File
@@ -52,7 +52,7 @@ class Momentum(Optimizer):
.. math::
p_{t} = p_{t-1} - (grad \ast lr + v_{t} \ast u \ast lr)
If use_nesterov is F
l
ase:
If use_nesterov is Fa
l
se:
.. math::
p_{t} = p_{t-1} - lr \ast v_{t}
+ 1
- 1
mindspore/nn/optim/sgd.py
View File
@@ -47,7 +47,7 @@ class SGD(Optimizer):
.. math::
p_{t+1} = p_{t} - lr \ast (gradient + u \ast v_{t+1})
If nesterov is F
l
ase:
If nesterov is Fa
l
se:
.. math::
p_{t+1} = p_{t} - lr \ast v_{t+1}
Write
Preview
Loading…
Cancel
Save