MrYxJ / calculate-flops.pytorch

The calflops is designed to calculate FLOPs、MACs and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer(Bert、LlaMA etc Large Language Model)
https://pypi.org/project/calflops/
MIT License
508 stars 16 forks source link

MACs for ConvTranspose2d #33

Open qiuzidian opened 3 months ago

qiuzidian commented 3 months ago

According to my testing, the MACs of ConvTranspose2d calculated by this repository are 1/4 of the MACs calculated by thop. What is the reason?