The parameters for PyTorch networks are stored in a model's state_dict. We can see the state dict contains the weight and bias matrices for each of our layers.

`` torch.save(model.state_dict(), 'checkpoint.pth')

state_dict = torch.load('checkpoint.pth') model.load_state_dict(state_dict)


*Note: u need to define the network architecture before hand