mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 00:04:41 +08:00
array.swapaxes should point to swapaxes free function (#441)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user