mlx/docs/src/python
Enoch Kan 0b28399638
added mse_loss, nll_loss and kl_div_loss (#98)
* added mse_loss, nll_loss and kl_div_loss

* fixed axis not defined error in nll_loss

* fixed axis not defined in kl_div_loss

* added tests for mse, nll and kl_div

* modified docstrings and added reduce helper func

* updated docstring in kl_div_loss and moved helper func

* added new kl divergence implementation

* added reduction to test

* updated docstring of kl_div_loss with correct spelling

* added losses to nn.rst in docs
2023-12-09 14:25:03 -08:00
..
nn awni's commit files 2023-11-29 10:30:41 -08:00
array.rst angelos's commit files 2023-11-29 10:42:59 -08:00
data_types.rst jagrit's commit files 2023-11-29 10:52:08 -08:00
devices_and_streams.rst jagrit's commit files 2023-11-29 10:52:08 -08:00
fft.rst awni's commit files 2023-11-29 10:30:41 -08:00
nn.rst added mse_loss, nll_loss and kl_div_loss (#98) 2023-12-09 14:25:03 -08:00
ops.rst angelos's commit files 2023-11-29 10:42:59 -08:00
optimizers.rst awni's commit files 2023-11-29 10:30:41 -08:00
random.rst awni's commit files 2023-11-29 10:30:41 -08:00
transforms.rst jagrit's commit files 2023-11-29 10:52:08 -08:00
tree_utils.rst jagrit's commit files 2023-11-29 10:52:08 -08:00