forked from pytorch/FBGEMM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct use of contiguous in cpu embedding ops (pytorch#588)
Summary: Pull Request resolved: pytorch#588 contiguous() doesn't mutate and returns a new tensor. Minimize contiguous calls by using TensorAccessor in csr2csc Reviewed By: jianyuh Differential Revision: D27560846 fbshipit-source-id: 87f244662e230cfc19a7ea813d0291c9379a0886
- Loading branch information
1 parent
c109fc2
commit 4c43051
Showing
3 changed files
with
27 additions
and
30 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
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