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

reduce axis argument should support an unordered set #124

Open
albertz opened this issue Mar 22, 2022 · 0 comments
Open

reduce axis argument should support an unordered set #124

albertz opened this issue Mar 22, 2022 · 0 comments

Comments

@albertz
Copy link
Member

albertz commented Mar 22, 2022

Because the order of the axes to be reduced should not matter.
This makes it also easier to reduce over all axes, like in reduce(x, mode="sum", axis=x.shape).

This might need an extension on RETURNN side.

(This came up in a code example by @JackTemaki.)

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

1 participant