mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-24 10:51:21 +08:00
array.swapaxes should point to swapaxes free function (#441)
This commit is contained in:
parent
006d01ba42
commit
29081204d1
@ -1147,7 +1147,7 @@ void init_array(py::module_& m) {
|
||||
"axis2"_a,
|
||||
py::kw_only(),
|
||||
"stream"_a = none,
|
||||
"See :func:`moveaxis`.")
|
||||
"See :func:`swapaxes`.")
|
||||
.def(
|
||||
"transpose",
|
||||
[](const array& a, py::args axes, StreamOrDevice s) {
|
||||
|
Loading…
Reference in New Issue
Block a user