Skip to content
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 adds new dimension to blocks #101

Merged
merged 1 commit into from
Mar 27, 2015
Merged

Conversation

mrocklin
Copy link
Member

For arrays with dimension k, stack([x, y, z]) has dimension k + 1.
The blocks of this result should also have dimension k + 1.

We add these dimensions by injecting calls like x[None, ...]

Fixes #100
cc @shoyer

For arrays with dimension k, `stack([x, y, z])` has dimension k + 1.
The blocks of this result should also have dimension k + 1.

We add these dimensions by injecting calls like `x[None, ...]`

Fixes dask#100
cc @shoyer
mrocklin added a commit that referenced this pull request Mar 27, 2015
Stack adds new dimension to blocks
@mrocklin mrocklin merged commit a75a376 into dask:master Mar 27, 2015
@mrocklin mrocklin deleted the stack-shape branch March 27, 2015 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stack followed by transpose fails
1 participant