-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Partitioned Matrix This PR moves the code for the refactored `PartitionedMatrix` from #173. It recapitulates part of #153, which is primarily targeted at the `ivf_index` class. * The refactored `PartitionedMatrix` is a separate class and is used as a base class for `tdbPartitionedMatrix`. The `PartitionedMatrix` class encapsulates the partitioning indices, the partitioned vectors, and the partitioned ids and they are always self-consistent with each other and are completely contained in memory. * All of the management of out-of-core indices and so forth is provided by `tdbPartitionedMatrix`. * This refactoring results in a significantly cleaner API for the query code. The prior API included separate parameters for partitioned vectors, etc., while the new API uses the encapsulation of the `PartitionedMatrix`. * The refactoring results in significantly simpler implementations (and may allow unification of finite and infinite RAM cases -- though that should be a later PR). * Moved the updated Python bindings that use the new API for the query functions. * Moved the test data siftsmall flat files from #173. The `PartitionedMatrix` class and the refined API are important for implementing the `ivf_index` class.
- Loading branch information
Showing
60 changed files
with
6,013 additions
and
3,056 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.