mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 09:51:17 +08:00
![]() * feat: implement `clip_grad_norm` * pre-commit * Add test for clip_grad_norm function in test_optimizers.py * small fixes * fix * lint * Update tree_reduce * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Update python/mlx/utils.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * Refactor clip_grad_norm function to include documentation and improve readability * format docstring * Add acknowlegements * text wrap * pre-commit * nits in docs --------- Co-authored-by: Awni Hannun <awni.hannun@gmail.com> Co-authored-by: Awni Hannun <awni@apple.com> |
||
---|---|---|
.. | ||
mlx_tests.py | ||
test_array.py | ||
test_autograd.py | ||
test_bf16.py | ||
test_blas.py | ||
test_compile.py | ||
test_constants.py | ||
test_conv.py | ||
test_device.py | ||
test_eval.py | ||
test_fast_sdpa.py | ||
test_fast.py | ||
test_fft.py | ||
test_graph.py | ||
test_init.py | ||
test_linalg.py | ||
test_load.py | ||
test_losses.py | ||
test_metal.py | ||
test_nn.py | ||
test_ops.py | ||
test_optimizers.py | ||
test_quantized.py | ||
test_random.py | ||
test_reduce.py | ||
test_tree.py | ||
test_upsample.py | ||
test_vmap.py |