Home▸AI & Machine Learning▸Multi-Layer CNN Forward Pass: Conv → Pool → Dense → Softmax (2D)

Multi-Layer CNN Forward Pass: Conv → Pool → Dense → Softmax (2D)

2D multi-layer CNN forward-pass lab: a drawable 12×12 input runs through two real multi-channel convolution layers, ReLU, max-pooling, flatten and a dense softmax classifier — every feature map computed live from real dot-product math, with adjustable kernel counts and reseedable weights.

AI & Machine Learning2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-convolutional-nn ↗ Open standalone

This 2D companion runs a genuine small convolutional neural network end to end: a drawable 12×12 input passes through a real multi-kernel Conv1 layer, ReLU, 2×2 max-pooling, a real multi-channel Conv2 layer that mixes every Pool1 channel, another ReLU and pool, a flatten step and a dense layer whose logits are turned into softmax class probabilities — every one of the nine pipeline stages is real matrix math computed live, not a single-kernel demo.

⚙ Under the hood

2D multi-layer CNN forward-pass lab with two real multi-channel convolution layers, ReLU, max-pooling, flatten and a dense softmax classifier, all recomputed live from adjustable kernel counts and reseedable random weights.

convolutional neural networkmulti-channel convolutionmax poolingrelu activationsoftmax classifierforward propagation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)