Commit 87baf8f
authored
A couple of minor fixes on rewrite rules (#2432)
* The recently introduced scatter-nd elimination optimization requires
the `remove_nodes=False` option to be more effective (which was somehow
lost in the initial implementation).
* Add a missing import statement for future annotations in the
`fuse_relus_clips.py` file
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>1 parent 138cb30 commit 87baf8f
File tree
2 files changed
+5
-0
lines changed- onnxscript/rewriter
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments