当前位置:网站首页>Deep learning - networks in networks and 1x1 convolution
Deep learning - networks in networks and 1x1 convolution
2022-06-30 07:43:00 【Hair will grow again without it】
1x1 Convolution
In terms of architecture content design , One of the more helpful ideas is to use 1×1 Convolution .
1x1 Convolution ?
The filter for 1×1, Here are the numbers 2, Enter a 6×6×1 Pictures of the , And then convolute it , The size of the lifting filter is 1×1×1, The result is equivalent to multiplying this picture by a number 2, So the first three cells are 2、4、6 wait . use 1×1 The filter is convoluted , It doesn't seem to be very useful , Just multiply the input matrix by a number . But this is only for 6×6×1 A channel image of ,1×1 Convolution effect is not good .
If it's a 6×6×32 Pictures of the , So use 1×1 The filter performs better convolution . say concretely ,1×1 The function of convolution is to traverse this 36 A cell , Calculate... In the left picture 32 Number and filter 32 The sum of the elements of a number , Then apply ReLU Nonlinear functions . This 1×1×32 In the filter 32 A number can be understood in this way , The input of a neuron is 32 A digital ( Enter the position of the lower left corner of the picture 32 Numbers in channels ), That is to say, on the same height and width 32 A digital , this 32 Numbers have different channels , multiply 32 A weight ( Put... In the filter 32 The number is understood as the weight ), Then apply ReLU Nonlinear functions , Output the corresponding result here . Generally speaking , If there is more than one filter , It's more than one. , It's like having multiple input units , Its input content is all numbers on a slice , The output is 6×6 Number of filters .
therefore 1×1 Convolution can be fundamentally understood as For this 32 A full connection layer is applied to all different locations , The role of the full connection layer is to input 32 A digital ( The number of filters is marked 𝑛𝐶[𝑙+1], Here 36 Repeat on units ), The output is 6×6×#filters( Number of filters ), In order to implement a nontrivial on the input layer (non-trivial) Calculation . This method is usually called1×1 Convolution, Sometimes calledNetwork in Network.
example
Suppose this is a 28×28×192 The input layer of , You can use the pooling layer to compress its height and width , This process is very clear to us . But if the number of channels is large , The How to compress it into 28×28×32 The dimension layer ? you It can be used 32 Size is 1×1 Filter , Strictly speaking, the size of each filter is 1×1×192 dimension , Because the number of channels in the filter must be the same as the number of channels in the input layer . But you used 32 A filter , The output layer is 28×28×32,
This is the number of compression channels (𝑛𝑐) Methods, For the pool layer I just compressed the height and width of these layers .
边栏推荐
- Parameter calculation of deep learning convolution neural network
- C. Fishingprince Plays With Array
- STM32 register
- String application -- string violent matching (implemented in C language)
- Combinatorial mathematics Chapter 2 Notes
- At the age of 25, I started to work in the Tiankeng industry with buckets. After going through a lot of hardships to become a programmer, my spring finally came
- 342 maps covering exquisite knowledge, one of which is classic and pasted on the wall
- Implementation of binary search in C language
- 期末复习-PHP学习笔记1
- Solve the linear equation of a specified point and a specified direction
猜你喜欢

Final review -php learning notes 4-php custom functions

深度学习——Bounding Box预测

2021 private equity fund market report (62 pages)
![November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)](/img/f8/ca1874eb999dc2bbb3c1392d0b72bc.jpg)
November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)

Examen final - notes d'apprentissage PHP 6 - traitement des chaînes

The counting tool of combinatorial mathematics -- generating function

Investment and financing analysis report of Supply Chain & logistics industry in 2021
![December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)](/img/e9/8646f3e2da0ece853e7135eb6e30d9.jpg)
December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)

Final review -php learning notes 5-php array
![2022.01.20 [bug note] | qiime2: an error was encoded while running dada2 in R (return code 1)](/img/c0/2c5efdbefd6f9b591541b1204c3ea2.jpg)
2022.01.20 [bug note] | qiime2: an error was encoded while running dada2 in R (return code 1)
随机推荐
Combinatorial mathematics Chapter 1 Notes
深度学习——LSTM
Similarities and differences of differential signal, common mode signal and single ended signal (2022.2.14)
Global digital industry strategy and policy observation in 2021 (China Academy of ICT)
深度学习——序列模型and数学符号
Analysys analysis: online audio content consumption market analysis 2022
深度学习——使用词嵌入and词嵌入特征
Directory of software
December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)
2021.11.20 [reading notes] | differential variable splicing events and DTU analysis
DS1302 digital tube clock
How to quickly delete routing in Ad
深度学习——BRNN和DRNN
Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)
Basic theory of four elements and its application
Implementation of double linked list in C language
Solve the linear equation of a specified point and a specified direction
Xiashuo think tank: 50 planet updates reported today (including the global architects Summit Series)
Final review -php learning notes 9-php session control


