1. 计算公式

ICLR 2017 一篇 NVIDIA 的 paper 在 APPENDIX A.1 中给出了比较详细的计算公式(公式 11,公式 12);然鹅原文中公式 11 可能有误,HHWW 应为 height and width of the output feature map,而不是 of the input feature map。

卷积神经网络的FLOPs和参数量的计算

对应可以参考知乎 chen liu 的回答

2. 开源库

用 pytorch 搭建的模型有一些库可以得到 FLOPs 和参数量,如 torchstatptflops

相关文章:

  • 2021-11-30
  • 2021-06-27
  • 2021-09-04
  • 2021-09-05
  • 2022-12-23
  • 2021-04-12
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-11-30
  • 2021-12-16
  • 2022-01-31
  • 2021-08-21
相关资源
相似解决方案