mlx/tests
Jacket 3f7aba8498
Implement diagonal operator (#562)
* Implement diagonal operator

This implements mx.diagonal in operator level, inspired by
@ManishAradwad.

* added `mx.diag` with tests

* corrected few things

* nits in bindings

* updates to diag

---------

Co-authored-by: ManishAradwad <manisharadwad@gmail.com>
Co-authored-by: Awni Hannun <awni@apple.com>
2024-01-30 09:45:48 -08:00
..
allocator_tests.cpp Metal validation (#432) 2024-01-11 11:57:24 -08:00
arg_reduce_tests.cpp Metal validation (#432) 2024-01-11 11:57:24 -08:00
array_tests.cpp Make array conform to the Python Buffer Protocol (#323) 2024-01-05 15:58:33 -08:00
autograd_tests.cpp Split multi output (#461) 2024-01-16 13:33:55 -08:00
blas_tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
CMakeLists.txt Compile front-end (#476) 2024-01-26 13:45:30 -08:00
compile_tests.cpp Compile front-end (#476) 2024-01-26 13:45:30 -08:00
creations_tests.cpp Propagate nans in binary ops (#579) 2024-01-29 11:19:38 -08:00
device_tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
eval_tests.cpp Removes the retain_graph flag (#385) 2024-01-07 15:16:51 -08:00
fft_tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
linalg_tests.cpp QR factorization (#310) 2024-01-26 09:27:31 -08:00
load_tests.cpp GGUF: Load and save metadata (#446) 2024-01-19 14:06:05 -08:00
metal_tests.cpp GGUF: Avoid dequantization when format is compatible (#426) 2024-01-23 15:43:57 -08:00
ops_tests.cpp Implement diagonal operator (#562) 2024-01-30 09:45:48 -08:00
random_tests.cpp random.uniform must respect dtype, even if lower precision than "low" (#280) 2023-12-24 07:04:43 -08:00
scheduler_tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
utils_tests.cpp Added mx.stack c++ frontend impl (#123) 2023-12-14 13:21:19 -08:00
vmap_tests.cpp Removes the retain_graph flag (#385) 2024-01-07 15:16:51 -08:00