mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-26 15:58:14 +08:00
Add smoothed L1 loss and enhancements to cross entropy loss (#166)
* Add smooth_l1_loss * Add labels moothing for cross entropy loss --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -9,9 +9,10 @@ Loss Functions
|
||||
:toctree: _autosummary_functions
|
||||
:template: nn-module-template.rst
|
||||
|
||||
cross_entropy
|
||||
binary_cross_entropy
|
||||
cross_entropy
|
||||
kl_div_loss
|
||||
l1_loss
|
||||
mse_loss
|
||||
nll_loss
|
||||
kl_div_loss
|
||||
smooth_l1_loss
|
||||
|
Reference in New Issue
Block a user