Commit 7c83832
committed
Do not emit error in shape inference if this error only means that the shape could not be computed.
Currently some ops mix canonicalization, shape inference, and validation in their inferShapes method, which can lead to confusing error messages and can generally be difficult to understand.
In the future I would like to split them up, so that inferShapes does only shape inference, and canonicalization becomes its own method/pattern.
Signed-off-by: Rickert, Jonas <[email protected]>1 parent a4c081c commit 7c83832
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments