Skip to content
ml-recall

#im2col

1 question from Convolutional Neural Networks

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedConvolutional Neural Networks

To compute corr2d(X, K) with a single matrix product, you copy every kernel-sized window of X into one row of a matrix A and flatten K into a column vector k; then A @ k, reshaped, is the output. For a 6×86 \times 8 input X and a 3×33 \times 3 kernel K (stride 1, no padding), what is the shape of A?

rows × columns, e.g. (10, 4)