We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have a question about BN here:
pytorch-OpCounter/thop/vision/basic_hooks.py
Lines 60 to 69 in 43c064a
pytorch-OpCounter/thop/vision/calc_func.py
Lines 43 to 45 in 43c064a
Maybe the MACs of BN (eval, no affine) should be x.numel(), not 2 * x.numel()?
x.numel()
2 * x.numel()
The text was updated successfully, but these errors were encountered:
他这个咋算的啊,就单单均值和方差的计算都不止这些吧。 如果不考虑eps,如果输入是(b,l,d)我算的flops是7bld+bl,用大O表示法就是BLD
Sorry, something went wrong.
No branches or pull requests
Hi, I have a question about BN here:
pytorch-OpCounter/thop/vision/basic_hooks.py
Lines 60 to 69 in 43c064a
pytorch-OpCounter/thop/vision/calc_func.py
Lines 43 to 45 in 43c064a
Maybe the MACs of BN (eval, no affine) should be
x.numel()
, not2 * x.numel()
?The text was updated successfully, but these errors were encountered: