About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
fujiyuu75
4/8/2020 - 10:05 AM
share
Share
add_circle_outline
Save
https://stackoverflow.com/questions/49201236/check-the-total-number-of-parameters-in-a-pytorch-model
pytorch.count.params.py
content_copy
file_download
pytorch_total_params = sum(p.numel() for p in model.parameters() if p.requires_grad)
clear