mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-02 05:04:10 -05:00
SINGLE SOURCE approach: One notebook serves both instructors and students 🎯 Key Features: - #|hide directive hides complete solutions from students - #|code-fold creates collapsible sections for details - #|export with educational metadata - Progressive learning: simple → ML-relevant complexity - Vector operations (add, dot product) as ML foundations - ML-aware SystemInfo class with library checking - Comprehensive testing for both student/instructor versions 🔄 Workflow: - Students see exercises with TODOs and hints - Instructors see complete solutions (hidden by default) - Package exports get instructor (complete) implementations - Single notebook maintains both audiences This establishes the pattern for all TinyTorch modules