-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack should accept multiple dims #47794
Comments
Yes I think this has an obvious meaning, although with some edge case where julia> y = rand(3,3,3,3);
julia> y == stack(eachslice(y, dims=(3,4))) == stack(eachslice(y, dims=(2,3,4)))
true Perhaps related questions, but easier to implement:
|
It's not too many, imo. It could be a |
From the docstring, "With keyword
dims::Integer
[...] stack reverses the action ofeachslice
with the same dims." Those semantics should be extended todims::Integer...
.cc @mcabbott, author of
stack
. (#43334)The text was updated successfully, but these errors were encountered: