Demos
Guides
Advanced guides
Notes
Package reference
num_trainable_params()
Resources
Meta information
Count the number of trainable parameters in the model.
model (torch.nn.Module) – Model to count the number of trainable parameters.
Number of trainable parameters.
int