4 / 24 · Check
Check: shape and MAC count
Use N=1,C=2,H=W=5,M=3,a 3×3 kernel,stride 2,padding one on all sides,dilation one. What are output shape and MAC count?
Lessons are free to read. Enroll to save your learning progress.
Write down the shape, coordinate mapping and numerical rule before choosing an answer. Compare your intermediate calculation with the explanation.
Use N=1,C=2,H=W=5,M=3,a 3×3 kernel,stride 2,padding one on all sides,dilation one. What are output shape and MAC count?
The effective kernel is three and each spatial dimension is floor((5+2−3)/2)+1=3. M=3 sets the output-channel count. Twenty-seven outputs each process eighteen terms, giving 486 scheduled MACs. This count includes zero-padding terms; an implementation that skips them must report executed operations separately.
✓ Check completed