pytorch
08c2314d - [PrimTorch] Add maker for *_copy variants of view functions (#87278)

Commit
2 years ago
[PrimTorch] Add maker for *_copy variants of view functions (#87278) Implements `diagonal_copy` as an example. This PR also fixes a number of correcness issues with `diagonal_copy`. cc @ezyang @mruberry @ngimel @Lezcano @fdrocha Pull Request resolved: https://github.com/pytorch/pytorch/pull/87278 Approved by: https://github.com/mruberry
Author
Committer
Parents
Loading