Align mlx::core::min op nan propagation with NumPy

This commit is contained in:
Joona Havukainen
2025-07-09 16:27:10 -07:00
parent e14ee12491
commit 61003524ee
5 changed files with 62 additions and 6 deletions

View File

@@ -203,6 +203,11 @@ void time_reductions() {
TIME(max_along_0);
auto max_along_1 = [&b]() { return mx::max(b, 1, false); };
TIME(max_along_1);
auto min_along_0 = [&b]() { return mx::min(b, 0, false); };
TIME(min_along_0);
auto min_along_1 = [&b]() { return mx::min(b, 1, false); };
TIME(min_along_1);
}
void time_gather_scatter() {