Files
mlx/python/mlx
AtomicVar 755dcf6137 Enable cross_entropy loss to handle dense targets (#517)
* Enable cross_entropy loss to handle dense targets

Dense targets means probabilities or one-hot encodings.

* better shape check of weights

* nits in docstring

---------

Co-authored-by: Awni Hannun <awni@apple.com>
2024-01-23 12:17:22 -08:00
..
2023-11-30 11:12:53 -08:00
2024-01-20 10:33:46 -08:00