Files
mlx/docs/src/python/nn/losses.rst

25 lines
408 B
ReStructuredText
Raw Normal View History

.. _losses:
.. currentmodule:: mlx.nn.losses
Loss Functions
--------------
.. autosummary::
:toctree: _autosummary_functions
:template: nn-module-template.rst
binary_cross_entropy
cosine_similarity_loss
cross_entropy
gaussian_nll_loss
hinge_loss
huber_loss
kl_div_loss
l1_loss
log_cosh_loss
2024-02-03 02:57:31 +08:00
margin_ranking_loss
mse_loss
nll_loss
smooth_l1_loss
triplet_loss