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

accumulation should be defined by operations, not the arrays #120

Open
rjpower opened this issue Apr 14, 2014 · 0 comments
Open

accumulation should be defined by operations, not the arrays #120

rjpower opened this issue Apr 14, 2014 · 0 comments

Comments

@rjpower
Copy link
Contributor

rjpower commented Apr 14, 2014

We currently defined the reduction/accum functions on arrays themselves, but this is kind of non-intuitive: what I really want is for the reduction to be attached to the operation, so I could say:

x = zeros()
scatter(src, target=x map_fn=..., accum_fn=np.add)
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