[神经网络]计算量GFLOPS和参数量#Params以及感受野计算

11 篇文章 0 订阅
8 篇文章 0 订阅

FLOPS:floating point operations per second的缩写,意指每秒浮点运算次数,理解为计算速度。衡量硬件性能的指标。
FLOPs:floating point operations的缩写(s表复数),意指浮点运算数,理解为计算量。衡量算法/模型的复杂度。

假设采用滑动窗实现卷积且忽略非线性计算开销,则卷积核的FLOPs为,其中HWC_{in}分别为输入特征图(就是输入图片了)的高度、宽度和通道数,K为核宽度,C_{out}为输出通道数。

\textup{FLOPs}=2HW(C_{in}K^{2}+1)C_{out}

 

全连接层网络FLOPs为,其中,I为输入维数,O为输出维数。

\textup{FLOPs}=(2I-1)O

 

Ref: Molchanov P, Tyree S, Karras T, et al. Pruning Convolutional Neural Networks for Resource Efficient Inference[J]. 2016.

https://blog.csdn.net/zhaoyin214/article/details/83616164

 

https://blog.csdn.net/wangdongwei0/article/details/88389775

https://zhuanlan.zhihu.com/p/33992733

https://zhuanlan.zhihu.com/p/34475420

https://zhuanlan.zhihu.com/p/29024978

https://blog.csdn.net/peaceinmind/article/details/78079263

https://blog.csdn.net/warm_in_spring/article/details/79133459

https://blog.csdn.net/hzhj2007/article/details/80164909

https://blog.csdn.net/hzhj2007/article/details/80164909

https://blog.csdn.net/qian99/article/details/79008053

 

https://blog.csdn.net/wgx571859177/article/details/80983043

https://fomoro.com/projects/project/receptive-field-calculator

  • 4
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值