Just pass SupportedTensorDtypes for each tensor to apply_ternary_elementwise_fn (#5834)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/5834 No more function pointers! Also, we check that each Tensor's type is in the allowed set. ghstack-source-id: 246132261 exported-using-ghexport Reviewed By: manuelcandales Differential Revision: D63794199 fbshipit-source-id: c811b0359f0465ad6fa0a7e742ecb932433a4122
S
Scott Wolchok committed
433ead09ed6f0f34b5f3b460ef2218ab35b24101
Parent: b1fd74c
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/3/2024, 11:54:20 PM