Docs updates (#198)

Reorganize NN docs + a few other tidbits.
This commit is contained in:
Awni Hannun
2023-12-17 13:20:55 -08:00
committed by GitHub
parent 90d04072b7
commit ee0c2835c5
9 changed files with 160 additions and 74 deletions

View File

@@ -0,0 +1,17 @@
.. _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