SIGN IN SIGN UP

Simplify function pointers for apply_ternary_elementwise_fn (#5833)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/5833

Cleaning up some of the required boilerplate. I updated op_clamp and op_where, but continued to not optimize op_where for size/build time. Ideal usage optimizing for size/build time would look like op_clamp.
ghstack-source-id: 246132259
exported-using-ghexport

Reviewed By: manuelcandales

Differential Revision: D63790004

fbshipit-source-id: e3e3f29587b9761ff042a5866111b1dc7e864f11
S
Scott Wolchok committed
b1fd74c8d2d54cb07d76289aa52984b27b23efd9
Parent: aa8a93c
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 10/3/2024, 11:54:20 PM