Google ML Bootcamp/4. Convolutional Neural Networks
5. Strided Convolutions
코딩소비
2023. 9. 15. 12:58
이전 convolution 연산은 stride=1인 경우를 본 것이다.
n은 input size, f는 filter size, p는 padding, s는 stride라고 할 때
output shape은 ((n+2p-f) / s) + 1이 된다.
원래 수학적 정의로 convolution filter란 flipped matrix로 합성곱을 진행해야하지만, 딥러닝에서는 filter내의 weight를 학습하므로 flipped(뒤집는) 행위가 크게 차이를 내지 않는다. 따라서 그냥 편하게 이 또한 convolution