Save some size in dtype_util when dtype selective build is not in use (#9842)
We duplicate a lot of functions depending on the operator name so that dtype selective build will work. We can just detect if dtype selective build is in use and, if not, stop duplicating. Test Plan: Saves 28288 bytes of text in size_test_all_optimized_ops compared to previous PR on my Mac. Pull-Request-resolved: https://github.com/pytorch/executorch/pull/9742
S
Scott Wolchok committed
4fe7367adfaa592c492930025d06a37ba994daff
Parent: b01c7de
Committed by GitHub <noreply@github.com>
on 4/23/2025, 1:06:07 AM