Files
TinyTorch/modules
Vijay Janapa Reddi de7a14bb54 Implement Module 05 autograd with Python decorator pattern
- Created elegant decorator that enhances pure Tensor with gradient tracking
- add_autograd(Tensor) transforms existing class without breaking changes
- Backward compatibility: all Module 01-04 code works unchanged
- New capabilities: requires_grad=True enables automatic differentiation
- Python metaprogramming education: students learn advanced patterns
- Clean architecture: no contamination of pure mathematical operations
2025-09-29 12:31:16 -04:00
..