Commit 3f7edee
ssjia
[ET-VK][ez] Always partition batch norm as it will be fused
The batch norm operator registration had a check_batch_norm_node guard that restricted partitioning to 4D input tensors only. Since batch norm is always fused with adjacent operations during graph compilation, this restriction is unnecessary and prevents valid models from being partitioned to the Vulkan backend. Remove the guard so batch norm is always eligible for Vulkan partitioning regardless of input dimensionality.
Differential Revision: [D93511630](https://our.internmc.facebook.com/intern/diff/D93511630/)
ghstack-source-id: 341964638
Pull Request resolved: #175081 parent 15f604e commit 3f7edee
1 file changed
+0
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
1249 | 1236 | | |
1250 | 1237 | | |
1251 | 1238 | | |
1252 | 1239 | | |
1253 | 1240 | | |
1254 | | - | |
1255 | 1241 | | |
1256 | 1242 | | |
1257 | 1243 | | |
| |||
0 commit comments