question about BN
dyhBUPT opened this issue · comments
dyhBUPT commented
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()
?