mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-28 00:17:32 -05:00
- Add matmul_naive function with for-loop implementation for learning - Update Dense layer to support both NumPy (@) and naive matrix multiplication - Add comprehensive tests comparing both implementations (correctness & performance) - Include step-by-step computation visualization for 2x2 matrices - Fix missing imports in tensor.py and activations.py - Export both tensor and activations modules to package This provides students with immediate success using NumPy while allowing them to understand the underlying computation through explicit for-loops. The scaffolding includes performance comparisons and educational insights about why NumPy is faster.