how does stride work in denosing neural network

5 views (last 30 days)
konoha
konoha on 13 May 2022
Answered: konoha on 18 May 2022
The input image size is [129 8]. There are 16 cnn layers, some have [9 1] kernel and some have [5 1]. Let use [9 1] kernel. In one computation, cnn will compute a dot product of 9 vertival pixels of the input image if I understand them correctly. The stride is set to [1 100], this mean the kernel moves 1 pixel vertivally and 100 pixels horizontally. However, the input is 129x8.

Answers (1)

konoha
konoha on 18 May 2022
the first cnn layer has kernel [9 8]. This has scanned through the input matrix and output is a vector. a [1 100] works as designed, which move vertically. But the choice of moving 100 horizontally is remained unclear.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!