How to save/load Torch models?

Is there any way to load a trained model without declaring the class definition before ?
I want the model architecture as well as parameters to be loaded.

2 Likes