mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-14 17:12:49 +08:00
Add isnan (#423)
This commit is contained in:
@@ -1132,6 +1132,12 @@ void init_array(py::module_& m) {
|
||||
py::kw_only(),
|
||||
"stream"_a = none,
|
||||
"See :func:`any`.")
|
||||
.def(
|
||||
"isnan",
|
||||
&mlx::core::isnan,
|
||||
py::kw_only(),
|
||||
"stream"_a = none,
|
||||
"See :func:`isnan`.")
|
||||
.def(
|
||||
"moveaxis",
|
||||
&moveaxis,
|
||||
|
||||
Reference in New Issue
Block a user