SIGN IN SIGN UP

Remove use of ET_EXTACT_SCALAR in portable kernels (#1683)

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

Ensure that dtypes are compatible in op checks, then replace uses of ET_EXTRACT_SCALAR with utils::extract_scalar.

Reviewed By: manuelcandales

Differential Revision: D53004484

fbshipit-source-id: 6deda6cc478981aad1b374f6089ced7835eeeb71
G
Gregory Comer committed
d207d49b16ec9feb227199b6d87f4b3895dc6b35
Parent: f2e7594
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 1/24/2024, 11:55:16 PM