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

Add accumulate to index_put_ #1374

Open
BalashovK opened this issue Sep 4, 2024 · 1 comment
Open

Add accumulate to index_put_ #1374

BalashovK opened this issue Sep 4, 2024 · 1 comment

Comments

@BalashovK
Copy link

Issue 758 is closed.
It says:
it you need the 'accumulate' argument on index_put, please open a new issue specifically calling for that.

I need "accumulate" in index_put_

My use-case: list of 2D indices with duplicates, which need to be rasterized over 2D canvas, summing up the duplicates.
I needed it for 2 projects already (physics & microbiology).
So far I have being using a trick with sparse-dense tensor conversion (for some reason, it adds values during the conversion instead of overriding them), but that is an undocumented feature and a questionable long-term solution.

Thank you!

@NiklasGustafsson
Copy link
Contributor

This has not been forgotten. I'm onboarding additional engineering resources at Microsoft, and I'm going to use fixing this bug as a part of that process.

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