4 ms·
This is C++ rather than C, but a substantial portion of PyTorch is written in C++, and they provide a C++ interface: https://pytorch.org/tutorials/advanced/cpp
by DougBTX 3y ago
This is C++ rather than C, but a substantial portion of PyTorch is written in C++, and they provide a C++ interface:
https://pytorch.org/tutorials/advanced/cpp_frontend.html https://pytorch.org/tutorials/advanced/cpp_frontend.html
In other words, you can absolutely use PyTorch without Python.