Commit 47aca69
authored
Expect at least one value in the tensor, to extract scalar from
Differential Revision: D86363818
Pull Request resolved: pytorch#156271 parent 652cc5a commit 47aca69
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
0 commit comments