4 ms·
A somewhat related, visual guide to discrete 2d convolutions: https://ezyang.github.io/convolution-visualizer/ https://ezyang.github.io/convolution-visualizer/
by brrrrrm 4y ago
A somewhat related, visual guide to discrete 2d convolutions: https://ezyang.github.io/convolution-visualizer/ https://ezyang.github.io/convolution-visualizer/
- thecleaner 4y agoSmall correction: this is correlation operator. Deep learning wise they (correlation and convolution) are equivalent but in probability it will lead to incorrect results.
- wnoise 4y agoTo elaborate, though the page does mention the distinction: (Cross-)correlation is convolution with a reversed kernel (second signal) (or vice-versa, of course). (For discrete signals, reversing the kernel is just a swapping the indexes around; which makes absolutely no difference for deep-learning). Convolution is more "natural" because it's abelian, whereas swapping signal and kernel in cross-correlation time-reverses the result.