mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Fix convolution FLOPs calculation in profiling example
112 × 112 × 7 × 7 × 3 × 64 × 2 = 236,027,904 (not 235,012,096)
This commit is contained in:
@@ -1031,7 +1031,7 @@ Convolution FLOP Breakdown:
|
||||
│ Kernel (out=64, in=3, kH=7, kW=7) │
|
||||
│ ↓ │
|
||||
│ Output size: (224×224) → (112×112) with stride=2 │
|
||||
│ FLOPs = 112 × 112 × 7 × 7 × 3 × 64 × 2 = 235,012,096 FLOPs │
|
||||
│ FLOPs = 112 × 112 × 7 × 7 × 3 × 64 × 2 = 236,027,904 FLOPs │
|
||||
└────────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user