-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid permuting inverse indices when not necessary (#1807)
Summary: Pull Request resolved: #1807 if inverse indices and embedding names are in the same order + no duplicates we can avoid the index select to permute the inverse indices tensor Reviewed By: zainhuda Differential Revision: D55039535 fbshipit-source-id: c00a193e5a8f34914cd67c627cb88d79e02cfdc9
- Loading branch information
1 parent
ce7b919
commit 6a415a7
Showing
1 changed file
with
17 additions
and
15 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