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

Support slices over multiple dims #21

Closed
bencottier opened this issue Feb 19, 2021 · 1 comment
Closed

Support slices over multiple dims #21

bencottier opened this issue Feb 19, 2021 · 1 comment

Comments

@bencottier
Copy link
Contributor

bencottier commented Feb 19, 2021

Note: there are different meanings of dims (#18 ), but the fundamental issue is that eachslice only supports single dimensions.

The problem arises in the following example. I want to apply MeanStdScaling, which internally computes mean(data; dims=3) and std(data; dims=3) in the sense of reducing the data on dimension 3, in a 3D array. Currently, to do that, eachslice would need to take dims=[1, 2], but it only supports single dimensions. Therefore we might need to move away from eachslice.

@glennmoy
Copy link
Member

no longer applies

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

No branches or pull requests

2 participants