当前位置:网站首页>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
边栏推荐
猜你喜欢

Tasks and task switching

【科普向】5G核心网架构和关键技术

2. (1) Chained storage of stack, operation of chain stack (illustration, comment, code)

【Go】Go 语言切片(Slice)

Obtaining server and client information

基于交替迭代法的交直流混合系统潮流计算matlab程序iEEE9节点系统算例

文件 - 05 下载文件:根据文件Id下载文件

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

Financial leasing business

2022.07.20_Daily Question
随机推荐
Run the NPM will pop up to ask "how are you going to open this file?"
第9章 异常try...except...else...finally
mysql的建表语句_三种常用的MySQL建表语句
【 TA - frost Wolf _may - "one hundred plan" 】 art 2.3 hard surface
Zero-Shot Learning & Domain-aware Visual Bias Eliminating for Generalized Zero-Shot Learning
Tasks and task switching
DAY18: Xss Range Clearance Manual
手把手教你开发微信小程序自定义底部导航栏
Explain the example + detail the difference between @Resource and @Autowired annotations (the most complete in the entire network)
Shellshock
Analysis of the principle and implementation of waterfall flow layout
完美指南|如何使用 ODBC 进行无代理 Oracle 数据库监控?
文件 - 07 删除文件: 根据fileIds批量删除文件及文件信息
Yu Mr Series 】 【 2022 July 022 - Go Go teaching course of container in the dictionary
ros小乌龟画图
2022.07.18_每日一题
DirectExchange switch simple introduction demo
基金投顾业务
PCB抄板
熟悉而陌生的新朋友——IAsyncDisposable
