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
!1469
fix issue SmoothL1Loss grad wrt target
Merge pull request
!1469
from zhaozhenlong/fix-issue-smooth-l1-loss-grad-wrt-target
tags/v0.5.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
a5102a6215
a5c021f450
commit
0aa95098fe
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
mindspore/ops/_grad/grad_nn_ops.py
+ 2
- 1
mindspore/ops/_grad/grad_nn_ops.py
View File
@@ -502,7 +502,8 @@ def get_bprop_smooth_l1_loss(self):
def bprop(prediction, target, out, dout):
dx = grad(prediction, target, dout)
return dx, zeros_like(target)
dy = grad(target, prediction, dout)
return dx, dy
return bprop
Write
Preview
Loading…
Cancel
Save