Models and layers have special method for that purpose:
model.count_params()
Also, to get a short summary of each layer dimensions and parameters, you might find useful the following method
model.summary()
Models and layers have special method for that purpose:
model.count_params()
Also, to get a short summary of each layer dimensions and parameters, you might find useful the following method
model.summary()