Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove useless copy on zip file load (#36362)
Summary: Instead of copying to a buffer, then setting a tensor's storage with that buffer, create a storage directly from the file ](https://our.intern.facebook.com/intern/diff/21057090/) Pull Request resolved: #36362 Pulled By: driazati Differential Revision: D21057090 fbshipit-source-id: e3d30a3b09f4d67bf4bb7a0dd7f4f60c3dd1a47e
- Loading branch information
1 parent
8e69c3b
commit 455bf77
Showing
2 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters