Commit 8b38097
Fix reduction of cross_entropy
Summary:
Reduction of cross_entropy is always set to "mean".
Fixed to receive the reduction.
Pull Request resolved: #3454
Reviewed By: zhanghang1989
Differential Revision: D31052191
Pulled By: ppwwyyxx
fbshipit-source-id: 0bd992cac13c67a772fac8539ab5cc4f7c8e5c3c1 parent 018fca8 commit 8b38097
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments