Fix import paths: Update all modules to use new numbering

IMPORT PATH FIXES: All modules now reference correct directories

Fixed Paths:
 02_tensor → 01_tensor (in all modules)
 03_activations → 02_activations (in all modules)
 04_layers → 03_layers (in all modules)
 05_losses → 04_losses (in all modules)
 Added comprehensive fallback imports for 07_training

Module Test Status:
 01_tensor, 02_activations, 03_layers: All tests pass
 06_optimizers, 08_spatial: All tests pass
🔧 04_losses: Syntax error (markdown in Python)
🔧 05_autograd: Test assertion failure
🔧 07_training: Import paths fixed, ready for retest

All import dependencies now correctly reference reorganized module structure.
This commit is contained in:
Vijay Janapa Reddi
2025-09-28 08:07:44 -04:00
parent 95f001a485
commit 6ef7f12f5a
14 changed files with 2590 additions and 33 deletions

View File

@@ -1410,7 +1410,7 @@ Your tensor implementation now enables:
- **Real data processing**: Handle images, text, and complex multi-dimensional datasets
### Export Your Work
1. **Export to package**: `tito module complete 02_tensor`
1. **Export to package**: `tito module complete 01_tensor`
2. **Verify integration**: Your Tensor class will be available as `tinytorch.core.tensor.Tensor`
3. **Enable next module**: Activations build on your tensor foundation