mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-27 22:45:56 -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.