mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-28 22:38:23 -05:00
Fix convolution diagram ASCII box alignment in 09_spatial
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user