state_dict ()

In order to access a model's parameters in pytorch:
state_dict and  parameters()
The parameters() only gives the module parameters i.e. weights and biases.
state_dict returns a dictionary containing a whole state of the module.
model.state_dict().keys()
coder