mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-27 22:45:56 -05:00
Added educational ASCII art showing: 1. **Actual pixel values** - What 8×8 digit images look like as numbers - Shows digits 5, 3, and 8 with real pixel values (0-16 range) - Helps students understand images are just 2D arrays 2. **Visual representation** - How humans see the digits - ASCII art showing recognizable digit shapes - Connects abstract numbers to concrete patterns 3. **Shape transformations** - How DataLoader batches data - Individual: (8, 8) → Batched: (32, 8, 8) - Shows what the model actually receives 4. **Complete example** - Loading and using tiny digits dataset - Real code showing datasets/tiny/digits_8x8.npz usage - Demonstrates the full DataLoader workflow Benefits: ✅ Students visualize what image data IS ✅ Understand DataLoader's batching transformation ✅ See connection between numbers and visual patterns ✅ Ready to work with real datasets in milestones This makes the abstract concept of 'image tensors' concrete and visual.