Commit 93e0535
Arm backend: Convert asserts to raise errors in op_reciprocal (pytorch#10105)
Asserts are converted to proper raises to ensure graph integrity.
Improve error messages and add additional check that there's only one input.
Signed-off-by: Sebastian Larsson <[email protected]>1 parent de8fe99 commit 93e0535
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
0 commit comments