Count the number of parameters in a model.
model – Pytorch model.
Number of parameters in the model.
int