AI Hardware & Software Stack
Which describes the "weight-stationary" dataflow used in AI accelerators?
- AWeights are reread from memory each time while inputs stay fixed
- BWeights are kept fixed inside each unit while input values stream through for successive multiply-accumulates, reducing weight reads
- CComputation proceeds without weights
Show answer and explanation
Answer: B. Weights are kept fixed inside each unit while input values stream through for successive multiply-accumulates, reducing weight reads
For matrix products, dataflows differ by which of weights, inputs or outputs stays inside the units for reuse. In weight-stationary dataflow, each unit loads one weight and holds it while many inputs stream through for continuous multiply-accumulates. For convolutions and large-batch work where the same weight serves many inputs, this greatly reduces the energy of reading weights.
- A. Keeping inputs fixed is a different dataflow.
- B. Correct. Many systolic arrays work this way.
- C. Weights are needed for computation.