mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
Pass missing stream arg in array.flatten (#1111)
This commit is contained in:
parent
bf925d9dc7
commit
56a4eaed72
@ -1139,7 +1139,7 @@ void init_array(nb::module_& m) {
|
||||
int start_axis,
|
||||
int end_axis,
|
||||
const StreamOrDevice& s) {
|
||||
return flatten(a, start_axis, end_axis);
|
||||
return flatten(a, start_axis, end_axis, s);
|
||||
},
|
||||
"start_axis"_a = 0,
|
||||
"end_axis"_a = -1,
|
||||
|
Loading…
Reference in New Issue
Block a user