mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-01 01:05:51 -05:00
Updated docstring examples to use cleaner callable syntax: - loss_fn(predictions, targets) instead of loss_fn.forward(predictions, targets) Applied to: - MSELoss - CrossEntropyLoss - BinaryCrossEntropyLoss Demonstrates proper usage with __call__ methods for cleaner, more Pythonic code.