Convolution, Exactly

Worked numerical examples with live tensors and checked exercises.

Live numerical models

Compute, inspect, and change one small model.

  1. What a Convolution Is

    weight sharing across one small, inspectable convolution

  2. One Output Cell

    receptive field coordinates, elementwise products, and a single bias term

  3. Shared Filter, Same Weights

    parameter tying, translation equivariance, and why shared bias matters

  4. The Feature Map

    one output map per filter, stacked into a multi-channel tensor

  5. Zero Padding

    preserve feature-map dimensions and include border pixels with zero rings

  6. Stride Moves the Window

    window step size, skipped starts, and exact output dimensions under stride

  7. ReLU on the Feature Map

    cellwise rectification vs linear pass-through, absolute value, and binary thresholding

  8. Channels Add Before ReLU

    multi-channel kernels, signed cross-channel cancellation, and why ReLU comes after the sum

  9. Max-Pooling, Exactly

    non-overlapping tile maxima, zero parameters, and within-tile shift tolerance

  10. Filter ReLU Pool Keeps the Signal Visible

    the three-stage conv-ReLU-pool block vs quadrant averaging

  11. What a Convnet Is and Is Not

    full conv-ReLU-pool-flatten-linear pipeline, parameter count, and rotation sensitivity