当前位置:网站首页>CNN--Introduction to each layer
CNN--Introduction to each layer
2022-07-31 07:46:00 【奇迹的粉丝】
卷积层Convolutional
给定卷积核,Where the convolution kernel is applied to the corresponding dimension of the input image features,计算乘积,The figure below shows the step sizestride=1为例,Get the final output layer features.


假设输入大小为(H,W),滤波器大小为(FH,FW),输出大小为(OH,OW),填充padding为P,步幅stride为S
O H = H + 2 P − F H S + 1 O W = W + 2 P − F W S + 1 OH=\frac{H+2P-FH}{S}+1\\ OW=\frac{W+2P-FW}{S}+1 OH=SH+2P−FH+1OW=SW+2P−FW+1
For multi-channel convolution calculations,Similar to the single channel calculation method,Just add the calculated values for each channel at the end


Convolution operation for multiple convolution kernels:


填充Padding
after each convolution,The output dimension is reduced,according to the size of the input image,The dimensions of the output image may become too small after several rounds of convolution,At the same time, the pixels on the edge are less than the pixels in the middle,This also ignores part of the image data,为了解决这个问题,PaddingBy padding data at the edges,To achieve the effect of keeping the input and output image dimensions consistent.

池化层Pooling
Pooling layer to reduce the size of the special row data,And make some feature detection more robust.如果使用一个 4 × 4 4\times4 4×4的矩阵,Max池化层和MeanThe result after the pooling layer is processed separately is shown below,这个过程很简单.在示例中,filter是2×2,stride为 2,So divide the input into four parts 2 × 2 2\times2 2×2 的子区域,Max和MeanThen, the maximum and mean values of the corresponding sub-regions are output respectively
的子区域,Max和MeanThen, the maximum and mean values of the corresponding sub-regions are output respectively
The above picture is from《深度学习入门:基于Python的理论与实现》and web images
边栏推荐
- Log4net 思维导图
- 2022.07.13 _ a day
- 电压源的电路分析知识分享
- 2022.07.14_Daily Question
- 03-SDRAM: Write operation (burst)
- Super detailed mysql database installation guide
- MySQL详解
- Introduction and self-order of bcos
- 2022.07.20_Daily Question
- Explain the example + detail the difference between @Resource and @Autowired annotations (the most complete in the entire network)
猜你喜欢

LeetCode brush # 376 # Medium - swing sequence

【C语言项目合集】这十个入门必备练手项目,让C语言对你来说不再难学!
![Embedded system driver primary [2] - _ parameters and dependencies under the kernel module](/img/c2/22c1e087b92ed2c898f97bcf0e818b.png)
Embedded system driver primary [2] - _ parameters and dependencies under the kernel module

Foreign trade website optimization - foreign trade website optimization tutorial - foreign trade website optimization software

Analysis of the principle and implementation of waterfall flow layout

The Perfect Guide|How to use ODBC for Agentless Oracle Database Monitoring?

什么是半波整流器?半波整流器的使用方法

从 Google 离职,前Go 语言负责人跳槽小公司

文件 - 04 下载文件: 根据文件下载链接下载文件

【Go】Go 语言切片(Slice)
随机推荐
2022.07.14_Daily Question
【微服务】(十六)—— 分布式事务Seata
Automatic translation software - batch batch automatic translation software recommendation
客户端navicat安装教程
2022.07.20_Daily Question
测试 思维导图
【面试:并发篇37:多线程:线程池】自定义线程池
从 Google 离职,前Go 语言负责人跳槽小公司
Redux state management
Kubernetes scheduling
线程唤醒机制
2022.07.12_每日一题
解决win11/win10在登陆界面(解锁界面)点击获取每日壁纸无效的问题 - get Daily Lockscreen and Wallpaper - Win11/10的登录界面背景图片在哪里?
van-uploader uploads images, and cannot preview the image using base64 echo
iOS大厂面试查漏补缺
【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习
Leetcode952. 按公因数计算最大组件大小
04-SDRAM: Read Operation (Burst)
2. (1) Chained storage of stack, operation of chain stack (illustration, comment, code)
基金投顾业务
