Commit 6551ece
[FIX] Only allow autoscheduler layout rewritting in conv2d_nhwc (apache#10522)
Autoscheduler cannot handle layout rewritting for grouped convolutions
and non-nhwc layouts. Previously layout rewriting was enabled for all
convolutions causing errors where autoscheduler generated too large
layouts like `64N4n1n1n1H1W68C1n1h1w2c2n`. Autoscheduler is now only
enabled on non-grouped conv2d_nhwc.1 parent 72bd08c commit 6551ece
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
326 | 327 | | |
327 | 328 | | |
328 | 329 | | |
| |||
714 | 715 | | |
715 | 716 | | |
716 | 717 | | |
| 718 | + | |
717 | 719 | | |
718 | 720 | | |
719 | 721 | | |
| |||
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
755 | 762 | | |
756 | 763 | | |
757 | 764 | | |
| |||
862 | 869 | | |
863 | 870 | | |
864 | 871 | | |
865 | | - | |
| 872 | + | |
866 | 873 | | |
867 | 874 | | |
868 | 875 | | |
| |||
0 commit comments