mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
refactor: complete Gold Standard audit for core foundation chapters; unify Volume 1 and Volume 2 math; verify physical realism of hardware constants
This commit is contained in:
@@ -934,11 +934,11 @@ Flattened Image × Hidden Weights = Hidden Features
|
||||
```
|
||||
Matrix Multiplication Process:
|
||||
A (2×3) B (3×2) C (2×2)
|
||||
┌ ┐ ┌ ┐ ┌ ┐
|
||||
│ 1 2 3 │ │ 7 8 │ │ 1×7+2×9+3×1 │ ┌ ┐
|
||||
│ │ × │ 9 1 │ = │ │ = │ 28 16│
|
||||
│ 4 5 6 │ │ 1 2 │ │ 4×7+5×9+6×1 │ │ 79 49│
|
||||
└ ┘ └ ┘ └ ┘ └ ┘
|
||||
┌ ┐ ┌ ┐ ┌ ┐
|
||||
│ 1 2 3 │ │ 7 8 │ │ 1×7+2×9+3×1 1×8+2×1+3×2 │ ┌ ┐
|
||||
│ │ × │ 9 1 │ = │ │ = │ 28 16 │
|
||||
│ 4 5 6 │ │ 1 2 │ │ 4×7+5×9+6×1 4×8+5×1+6×2 │ │ 79 49 │
|
||||
└ ┘ └ ┘ └ ┘ └ ┘
|
||||
|
||||
Computation Breakdown:
|
||||
C[0,0] = A[0,:] · B[:,0] = [1,2,3] · [7,9,1] = 1×7 + 2×9 + 3×1 = 28
|
||||
|
||||
Reference in New Issue
Block a user