pytorch
98e4524d - [PyTorch Edge] Add OwnedOrBorrowedVector for QNNPack BCSR Indices/Values (#80476)

Commit
2 years ago
[PyTorch Edge] Add OwnedOrBorrowedVector for QNNPack BCSR Indices/Values (#80476) OwnedOrBorrowedVector allows us to create a BCSR which uses preexisting data pointers for its indices and values, so we can avoid copying data when loading. It also supports creating a BCSR which owns indices and values data in vectors as before. Differential Revision: [D36956640](https://our.internmc.facebook.com/intern/diff/D36956640/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D36956640/)! Pull Request resolved: https://github.com/pytorch/pytorch/pull/80476 Approved by: https://github.com/qihqi
Author
Committer
Parents
Loading