mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-19 07:31:26 +08:00
![]() - Add comprehensive test suite (test_metal_svd.cpp): * Basic functionality tests * Input validation tests * Various matrix sizes and batch processing * Reconstruction accuracy verification * Orthogonality property checks * Special matrices (identity, zero, diagonal) * Performance characteristic tests - Add detailed implementation documentation: * Algorithm description and complexity analysis * Usage examples and API documentation * Performance benchmarks and characteristics * Implementation details and file structure * Error handling and limitations * Contributing guidelines - Enhance error handling and robustness: * Improved input validation with detailed error messages * Memory allocation error handling * NaN/Inf input detection * Performance logging for large matrices - Integrate tests into CMake build system This completes the Metal SVD implementation with production-ready testing and documentation. |
||
---|---|---|
.. | ||
allocator_tests.cpp | ||
arg_reduce_tests.cpp | ||
array_tests.cpp | ||
autograd_tests.cpp | ||
blas_tests.cpp | ||
CMakeLists.txt | ||
compile_tests.cpp | ||
creations_tests.cpp | ||
custom_vjp_tests.cpp | ||
device_tests.cpp | ||
einsum_tests.cpp | ||
eval_tests.cpp | ||
export_import_tests.cpp | ||
fft_tests.cpp | ||
gpu_tests.cpp | ||
linalg_tests.cpp | ||
load_tests.cpp | ||
ops_tests.cpp | ||
random_tests.cpp | ||
scheduler_tests.cpp | ||
test_metal_svd.cpp | ||
tests.cpp | ||
utils_tests.cpp | ||
vmap_tests.cpp |