forked from facebookresearch/faiss
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Selector for IDMap (facebookresearch#2848)
Summary: Pull Request resolved: facebookresearch#2848 Add selector support for IDMap wrapped indices. Caveat: this requires to wrap the IDSelector with another selector. Since the params are const, the const is casted away. This is a problem if the same params are used from multiple execution threads with different selectors. However, this seems rare enough to take the risk. Reviewed By: alexanderguzhva Differential Revision: D45598823 fbshipit-source-id: ec23465c13f1f8273a6a46f9aa869ccae2cdb79c
- Loading branch information
1 parent
c86bc03
commit eabe599
Showing
5 changed files
with
111 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
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