当前位置:网站首页>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
边栏推荐
- 2022.07.12_每日一题
- 2022.07.14_Daily Question
- leetcode 406. Queue Reconstruction by Height
- ros小乌龟画图
- 2022.07.24_Daily Question
- LeetCode brush # 376 # Medium - swing sequence
- 在 ASP.NET Core 应用程序启动时运行代码的 3 种方法
- Core Tower Electronics won the championship in the Wuhu Division of the 11th China Innovation and Entrepreneurship Competition
- 文件 - 05 下载文件:根据文件Id下载文件
- Fund investment advisory business
猜你喜欢
随机推荐
[PSQL] SQL基础教程读书笔记(Chapter1-4)
从 Google 离职,前Go 语言负责人跳槽小公司
2022.07.15_每日一题
Bulk free text translation
2022.07.12_Daily Question
文件 - 03 下载文件:根据文件id获取下载链接
Obtaining server and client information
我开发了一个利用 Bun 执行 .ts / .js 文件的 VS Code 插件
基于交替迭代法的交直流混合系统潮流计算matlab程序iEEE9节点系统算例
03-SDRAM: Write operation (burst)
基于LSTM的诗词生成
2022.07.14_每日一题
Super detailed mysql database installation guide
Analysis of the principle and implementation of waterfall flow layout
Detailed explanation of js prototype
客户端navicat安装教程
SCI写作指南
解决win11/win10在登陆界面(解锁界面)点击获取每日壁纸无效的问题 - get Daily Lockscreen and Wallpaper - Win11/10的登录界面背景图片在哪里?
Core Tower Electronics won the championship in the Wuhu Division of the 11th China Innovation and Entrepreneurship Competition
Shellshock