mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 01:41:17 +08:00
fix "shape" docstring. (#623)
This commit is contained in:
parent
16750f3c51
commit
9852af1a19
@ -679,7 +679,7 @@ void init_array(py::module_& m) {
|
||||
"shape",
|
||||
[](const array& a) { return py::tuple(py::cast(a.shape())); },
|
||||
R"pbdoc(
|
||||
The shape of the array as a Python list.
|
||||
The shape of the array as a Python tuple.
|
||||
|
||||
Returns:
|
||||
tuple(int): A tuple containing the sizes of each dimension.
|
||||
|
Loading…
Reference in New Issue
Block a user