Thank you @ptrblck @tom. So my main motivation was to include Deep Learning inference into pure C++ software stack. In light of your answers, is it right to conclude that the the scripting the model method would do just fine? One more thing, with this method (scripting + libtorch) can any model be inferred in C++?