PYTHON · NUMPY
The multiply is the enemy

A tiny 16->32->4 edge policy has exactly 640 MACs. Price it with the cited Horowitz @45nm constants. Fill the one gap so arith_share is the multiply fraction of arithmetic energy; the grader checks it against 3.7/4.6 and confirms a single DRAM read beats every add combined.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you