Deploy CNN model from python to c++ with torch script

is it possible to deploy a python created CNN model with torch script to C++ Code ?

Yes, you can script the model and load in in a libtorch C++ application as described in this tutorial.

1 Like