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
!1112
Fix weight decay bug for `SGD` optimizer
Merge pull request
!1112
from seatea/fix-sgd-weight-decay-bug
tags/v0.3.0-alpha
mindspore-ci-bot
Gitee
6 years ago
parent
5de4323632
5a119d107f
commit
793bfddb17
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
mindspore/nn/optim/sgd.py
+ 0
- 1
mindspore/nn/optim/sgd.py
View File
@@ -136,7 +136,6 @@ class SGD(Optimizer):
params = self.parameters
accum = self.accum
stat = self.stat
gradients = self.decay_weight(gradients)
gradients = self.scale_grad(gradients)
lr = self.get_lr()
if self.is_group_lr:
Write
Preview
Loading…
Cancel
Save