CNN Architecture Explorer

CHE657 · Visualize kernels, channels, pooling, and feature-map dimensions

Feature-map dimensions through the network

Selected layer

Click a stage in the diagram to inspect it.

Convolution / pooling formula

Output size = ⌊(N + 2P − K)/S⌋ + 1
N: input height or width · P: padding · K: kernel/pool size · S: stride. Apply independently to height and width.

Key ideas

The full filter dimensions are K × K × Cin (e.g., 3 × 3 × 3 for RGB input). The kernel-size control specifies only the spatial K × K part. Each filter produces one output channel, so Cout equals the number of filters. Pooling operates separately on each channel, preserving channel count.

Layer-by-layer calculations