So the answer here



 Atom:

By the way, does a serializated ScriptModule (module.save(“model.pt”)) also saves the state of the module or only the architecture itself?


is yes. Does that also solve the need for loading the state dict?
I cannot praise the export to c++ tutorial enough 389.
Best regards
Thomas