Files
TinyTorch/modules/source
Vijay Janapa Reddi 0de3256736 Fix autograd module: Add missing subtract function
- Added subtract function with proper gradient computation
- Implemented subtraction rule: d(x-y)/dx = 1, d(x-y)/dy = -1
- Added comprehensive tests for subtraction operation
- Fixed chain rule tests that depend on subtract function
- All autograd tests now passing (8/8 modules fully functional)

The autograd module is now complete with all basic operations:
- Variable class with gradient tracking
- Addition, multiplication, and subtraction operations
- Automatic differentiation through computational graphs
- Chain rule implementation for complex expressions
- Neural network training integration ready
2025-07-13 16:59:07 -04:00
..