← DSAI4207 demos

Lecture 4 · Demo 1

Sequence Convolution

Key concept: One local kernel is reused across sequence positions: sₜ = b + Σₗ K⁽ˡ⁾xₜ₋ₗ, then hₜ = φ(sₜ).

Move the three-value window across six inputs. Next term reveals each product and the output; toggle apply activation to compare the raw sum with tanh.

What to look for: the window moves, but the kernel weights stay fixed. The same local rule creates each output.

Open the demo in a new tab for more room.