Commit ec1cd04
authored
Add mixed dtype check for XNNPACK partitioner (pytorch#9612)
### Summary
Fixes pytorch#9023
Prevents the partitioner from handling ops with mixed dtypes.
### Test plan
Unable to directly test due to auto-casting of dtypes and existing dtype
checks in verifier.py.1 parent 5531a0e commit ec1cd04
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
177 | 198 | | |
178 | 199 | | |
179 | 200 | | |
180 | | - | |
| 201 | + | |
181 | 202 | | |
| 203 | + | |
182 | 204 | | |
183 | 205 | | |
184 | 206 | | |
| |||
0 commit comments