Fix convolution diagram ASCII box alignment in 09_spatial

This commit is contained in:
Vijay Janapa Reddi
2025-11-30 09:53:03 -05:00
parent 62f1343c3f
commit c2d6a89876

View File

@@ -87,12 +87,12 @@ Spatial operations transform machine learning from working with simple vectors t
```
Input Image (5×5): Kernel (3×3): Output (3×3):
┌─────────────────┐ ┌─────────┐ ┌─────────┐
│ 1 2 3 4 5 │ │ 1 0 -1 │ │ ? ? ? │
│ 6 7 8 9 0 │ * │ 1 0 -1 │ = │ ? ? ? │
│ 1 2 3 4 5 │ │ 1 0 -1 │ │ ? ? ? │
│ 6 7 8 9 0 │ └─────────┘ └─────────┘
│ 1 2 3 4 5
┌─────────────────┐ ┌───────────┐ ┌─────────┐
│ 1 2 3 4 5 │ │ 1 0 -1 │ │ ? ? ? │
│ 6 7 8 9 0 │ * │ 1 0 -1 │ = │ ? ? ? │
│ 1 2 3 4 5 │ │ 1 0 -1 │ │ ? ? ? │
│ 6 7 8 9 0 │ └───────────┘ └─────────┘
│ 1 2 3 4 5
└─────────────────┘
Sliding Window Process: