mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 01:41:17 +08:00
![]() * 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> |
||
---|---|---|
.. | ||
allocator_tests.cpp | ||
arg_reduce_tests.cpp | ||
array_tests.cpp | ||
autograd_tests.cpp | ||
blas_tests.cpp | ||
CMakeLists.txt | ||
compile_tests.cpp | ||
creations_tests.cpp | ||
device_tests.cpp | ||
eval_tests.cpp | ||
fft_tests.cpp | ||
linalg_tests.cpp | ||
load_tests.cpp | ||
metal_tests.cpp | ||
ops_tests.cpp | ||
random_tests.cpp | ||
scheduler_tests.cpp | ||
tests.cpp | ||
utils_tests.cpp | ||
vmap_tests.cpp |