5 steps · 0 done

A loop over every pixel position is far too slow to train with. Real libraries turn convolution into one big matrix multiply using a trick called im2col: copy every patch the kernel will visit into a row of a matrix, then multiply by the kernels all at once. You'll build that, use it for a forward and backward pass, and train a CNN on the digits.

The network: 8 learned 3×3 filters → ReLU → flatten (6 × 6 × 8 = 288 numbers) → a dense layer to 10 classes.

locked

The project uses everything in this module. Solve these first:

what you'll build
  1. Images and patches
  2. Convolution as one matrix multiply
  3. Forward and backward through the CNN
  4. Train it
  5. What did it learn?

The editor opens with the project.