mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-26 15:58:14 +08:00
add losses to the docs, fix black failur (#92)
This commit is contained in:
@@ -170,3 +170,13 @@ simple functions.
|
||||
gelu_fast_approx
|
||||
relu
|
||||
silu
|
||||
|
||||
Loss Functions
|
||||
--------------
|
||||
|
||||
.. autosummary::
|
||||
:toctree: _autosummary_functions
|
||||
:template: nn-module-template.rst
|
||||
|
||||
losses.cross_entropy
|
||||
losses.l1_loss
|
||||
|
Reference in New Issue
Block a user