Solved by ptrblck in post #2 
              
              
                Neither of these two methods is a built-in method of nn.Module, so you would need to look into the custom model definition and search for these functions. 
nn.Module provides the .state_dict() method, which will return all registered parameters and buffers of this model.