2D convolution
Change parameters and inspect the actual computation behind 2d convolution.
| 0 | 3 | 3 |
| 0 | 3 | 3 |
| 0 | 3 | 3 |
Derivation steps / input data
- Input: [[1,1,0,0,0],[1,1,0,0,0],[1,1,3,0,0],[1,1,0,0,0],[1,1,0,0,0]]
- Kernel: [[1,0,-1],[1,0,-1],[1,0,-1]]
3Output height
3Output width
9Parameters (no bias)
5×5 input, 3×3 kernel, stride 1, no padding. This uses cross-correlation, as ML frameworks typically do, without flipping the kernel. Kernels: edge, mean, sharpen.
Predict the effect of changing a parameter before inspecting the output. Identify the responsible term in the formula and explain how the teaching model differs from a real application.