Files
TinyTorch/modules/source
Vijay Janapa Reddi 12f37fb5db feat: Add comprehensive attention module (06_attention)
- Implement scaled dot-product attention with masking support
- Build multi-head attention with learnable projections
- Create sinusoidal positional encoding for sequence understanding
- Add layer normalization for training stability
- Complete transformer block with residual connections
- Include self-attention wrapper and utility functions
- Full inline testing with 100% pass rate
- Educational content explaining attention mechanisms
- Foundation for modern AI architectures (GPT, BERT, etc.)

This module bridges classical ML (tensors, layers, networks) with
modern transformer architectures that power ChatGPT and contemporary AI.
2025-07-17 22:58:19 -04:00
..
2025-07-14 13:04:44 -04:00