Commit 22e3bd4
Expect at least one value in the tensor, to extract scalar from (#15783)
Summary:
local scalar dense extracts a scalar from a tensor.
Check that the tensor has at least one value
Differential Revision: D86363818
Co-authored-by: lucylq <[email protected]>1 parent ab9ed7c commit 22e3bd4
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| |||
0 commit comments