mlx/docs/build/html/_sources/python/nn/losses.rst

18 lines
260 B
ReStructuredText
Raw Normal View History

2023-12-18 05:23:03 +08:00
.. _losses:
.. currentmodule:: mlx.nn.losses
Loss Functions
--------------
.. autosummary::
:toctree: _autosummary_functions
:template: nn-module-template.rst
cross_entropy
binary_cross_entropy
l1_loss
mse_loss
nll_loss
kl_div_loss