Commit 9419e30
Fix num nonbatch dims calculation (#10600)
Summary:
Pull Request resolved: #10600
This will search for if there exists a conv in the graph, and then set the num nonbatch dims to 3. If we find a linear before conv, then the nonbatch dims should be 1. Again per the todo, we should parse the number of nonbatch dims from the affine quant node in the future.
Reviewed By: derekxu
Differential Revision: D739678421 parent 48ad9f6 commit 9419e30
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
0 commit comments