pytorch
28929b12 - Add `as_strided_` to tensor docs (#97300)

Commit
2 years ago
Add `as_strided_` to tensor docs (#97300) Closes #87365 I added `as_strided_` to the tensor docs, following what seemed to be a pattern consistent with similar functions. More specifically, both the in-place and out-of-place function counterparts are defined in `_tensor_docs.py`, with the in-place version linking to the out-of-place version and the out-of-place version pointing to the corresponding `_torch_docs.py` definition. If the above is not what we want (e.g. we want to add a more robust description, examples, etc.), let me know and I will be happy to update accordingly! Pull Request resolved: https://github.com/pytorch/pytorch/pull/97300 Approved by: https://github.com/zou3519
Committer
Parents
Loading