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

Tensor.as_strided_ is not documented #37441

Open
ezyang opened this issue Apr 28, 2020 · 2 comments
Open

Tensor.as_strided_ is not documented #37441

ezyang opened this issue Apr 28, 2020 · 2 comments
Labels
module: docs Related to our documentation, both in docs/ and docblocks triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@ezyang
Copy link
Contributor

ezyang commented Apr 28, 2020

https://pytorch.org/docs/master/search.html?q=as_strided_&check_keywords=yes&area=default#

@ezyang
Copy link
Contributor Author

ezyang commented Apr 28, 2020

@albanD says you shouldn't do this in-place, @gchanan suggests it should just be DON'T USE THIS

@albanD
Copy link
Collaborator

albanD commented Apr 28, 2020

Ok, we actually have things like unsqueeze_() that are inplace.
I am not sure how these work with the autograd logic though...

@pbelevich pbelevich added module: docs Related to our documentation, both in docs/ and docblocks triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: docs Related to our documentation, both in docs/ and docblocks triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

3 participants