mirror of
https://github.com/ml-explore/mlx.git
synced 2025-11-05 11:28:12 +08:00
fix pinv (#2110)
This commit is contained in:
@@ -197,6 +197,13 @@ void init_array(nb::module_& m) {
|
||||
"max",
|
||||
&mx::finfo::max,
|
||||
R"pbdoc(The largest representable number.)pbdoc")
|
||||
.def_ro(
|
||||
"eps",
|
||||
&mx::finfo::eps,
|
||||
R"pbdoc(
|
||||
The difference between 1.0 and the next smallest
|
||||
representable number larger than 1.0.
|
||||
)pbdoc")
|
||||
.def_ro("dtype", &mx::finfo::dtype, R"pbdoc(The :obj:`Dtype`.)pbdoc")
|
||||
.def("__repr__", [](const mx::finfo& f) {
|
||||
std::ostringstream os;
|
||||
|
||||
Reference in New Issue
Block a user