mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-24 06:28:08 +08:00

* 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>