Clean up module imports: convert tinytorch.core to sys.path style

- Remove circular imports where modules imported from themselves
- Convert tinytorch.core imports to sys.path relative imports
- Only import dependencies that are actually used in each module
- Preserve documentation imports in markdown cells
- Use consistent relative path pattern across all modules
- Remove hardcoded absolute paths in favor of relative imports

Affected modules: 02_activations, 03_layers, 04_losses, 06_optimizers,
07_training, 09_spatial, 12_attention, 17_quantization
This commit is contained in:
Vijay Janapa Reddi
2025-09-30 08:58:58 -04:00
parent 69b2a7fd4f
commit acb772dd92
159 changed files with 18746 additions and 100923 deletions

File diff suppressed because it is too large Load Diff