xref: /aosp_15_r20/external/pytorch/torch/extension.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1*da0073e9SAndroid Build Coastguard Worker #pragma once
2*da0073e9SAndroid Build Coastguard Worker 
3*da0073e9SAndroid Build Coastguard Worker #ifndef TORCH_INDUCTOR_CPP_WRAPPER
4*da0073e9SAndroid Build Coastguard Worker // All pure C++ headers for the C++ frontend.
5*da0073e9SAndroid Build Coastguard Worker #include <torch/all.h>
6*da0073e9SAndroid Build Coastguard Worker #endif
7*da0073e9SAndroid Build Coastguard Worker 
8*da0073e9SAndroid Build Coastguard Worker // Python bindings for the C++ frontend (includes Python.h).
9*da0073e9SAndroid Build Coastguard Worker #include <torch/python.h>
10