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

out= option #22

Open
davidweichiang opened this issue Apr 23, 2022 · 2 comments
Open

out= option #22

davidweichiang opened this issue Apr 23, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@davidweichiang
Copy link
Contributor

Can an out= option be added to overwite an existing tensor instead of creating a new one?

@bdusell
Copy link
Owner

bdusell commented Apr 25, 2022

I think that would be doable, by modifying something in extend.py: https://github.com/bdusell/semiring-einsum/blob/master/torch_semiring_einsum/extend.py

But last I heard, PyTorch was trying to phase out out= in its APIs.

@bdusell
Copy link
Owner

bdusell commented Jun 14, 2022

This discussion is relevant: pytorch/pytorch#28329

@bdusell bdusell added the enhancement New feature or request label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants