SIGN IN SIGN UP

Let custom ops registration code only include ATen headers

Summary:
X-link: https://github.com/pytorch/pytorch/pull/107064

Basically we generate `CustomOpsNativeFunctions.h` for registering custom ops into PyTorch JIT runtime. This header needs to hookup with the C++ kernel implementation of all the custom ops. For this reason it should include ATen headers instead of Executorch headers. This PR changes it.

Reviewed By: kirklandsign

Differential Revision: D48282828

fbshipit-source-id: cf4ed96a7fb899b85a71d7efbc3fcd6c5a38632d
M
Mengwei Liu committed
5f8aa6db8a3fa5e2bd257db43008578fb9d8c7b1
Parent: 9bc3662
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/12/2023, 11:47:17 PM