mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 18:28:12 +08:00
Add isnan (#423)
This commit is contained in:
@@ -1050,6 +1050,10 @@ array array_equal(
|
||||
}
|
||||
}
|
||||
|
||||
array isnan(const array& a, StreamOrDevice s /* = {} */) {
|
||||
return not_equal(a, a, s);
|
||||
}
|
||||
|
||||
array where(
|
||||
const array& condition,
|
||||
const array& x,
|
||||
|
Reference in New Issue
Block a user