当前位置:网站首页>模型时间复杂度和空间复杂度
模型时间复杂度和空间复杂度
2022-07-17 05:10:00 【weixin_42707080】
1、时间复杂度(计算量):即模型的运算次数,可用 FLOPS衡量,也就是浮点运算次数(FLoating-point OPerations)。
2、空间复杂度(访存量):严格来讲包括两部分:总参数量 + 各层输出特征图。
访存量:指的是输入单个样本,模型完成一次前向传播过程中所发生的内存交换总量
VGG16的计算量如下所示
VGG 可以说是在计算强度上登峰造极的一个模型系列,简约不简单。以 VGG16 为例,从上表可以看到,仅包含一次前向传播的计算量就达到了 15GFLOPs,如果包含反向传播,则需要再乘二。访存量则是 Kernel Mem 和 Output Mem 之和再乘以四,大约是 600MB。因此 VGG16 的计算强度就是 25 FLOP/Byte。
参考博客:
边栏推荐
- 12.数据仓库搭建之ADS层搭建
- Table field attribute query
- Application of recursion
- Ambari 2.7.5 integrated installation hue 4.6
- 9. Dim layer construction of data warehouse construction
- 5. Spark core programming (1)
- jvm学习
- MySQL queries the data of the current day, this week, this month and last month
- 图片的大小限制显示
- 10.数据仓库搭建之DWD层搭建
猜你喜欢
How can the thread pool be monitored to help developers quickly locate online errors?
8. ODS layer construction of data warehouse
Flutter Intl的使用
Ambari2.7.5 integration es6.4.2
【语音识别】MFCC特征提取
4. Neusoft cross border e-commerce data warehouse project - user behavior data acquisition channel construction of data acquisition channel construction (2022.6.1-2022.6.4)
5.1数据采集通道搭建之业务数据采集通道搭建
软件过程与管理复习(七)
10.数据仓库搭建之DWD层搭建
MySQL学习笔记(5)——JOIN联表查询,自连接查询,分页和排序,子查询与嵌套查询
随机推荐
Solve idea new module prompt module XXXX does exits
5.1数据采集通道搭建之业务数据采集通道搭建
SnackBar source code analysis and packaging
3.东软跨境电商数仓项目架构设计
List与Map
Syntax differences between PgSQL and Oracle (SQL migration records)
Page navigation of wechat applet
利用IDE打jar包
【语音识别入门】基础概念与框架
MySQL comma separated data for branches
JNA加载DLL及在jar中的运用
INRIAPerson数据集转化为yolo训练格式并可视化
JNI实用笔记
软件过程与管理复习(十)
配置tabBar和request网络数据请求
Spark核心编程(4)--Spark运行架构
Use ide to make jar package
typedef
软件过程与管理复习(八)
MySQL transactions