Sometimes we need an efficiency, low latency enviroment to run our model.
Also, most of the embedded system is written in C/C++, the C++ front can makeC++ developers directly use C++ to build their pytorch model as well.
You could reference the official installing guide to build the example.
The design of the C++ front-end follow the following rules:
Closely model the Python frontend in its design: