Solved by tom in post #2 
              
              
                So the answer here 

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