faiss/faiss
Matthijs Douze 039409d950 split off RQ encoding steps to another file (#3011)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3011

After Alexandr's optimizations the ResidualQuantizer code has become harder to read. Split off the quantization code to a separate .h / .cpp to make it clearer.

Reviewed By: pemazare

Differential Revision: D48448614

fbshipit-source-id: c90d572ea3afe12a7a7e5092f88710e8eceaa2d1
2023-09-01 07:06:14 -07:00
..
cppcontrib Support of 12-bit vector codecs for SaDecodeKernels (#2745) 2023-03-06 09:27:42 -08:00
gpu Using expanded distance forms in `RaftFlatIndex.cu` (#3021) 2023-08-30 09:05:59 -07:00
impl split off RQ encoding steps to another file (#3011) 2023-09-01 07:06:14 -07:00
invlists IVF sorting routine (#2846) 2023-05-04 09:59:06 -07:00
python split off RQ encoding steps to another file (#3011) 2023-09-01 07:06:14 -07:00
utils CodeSet for deduping large datasets (#2949) 2023-07-19 10:05:46 -07:00
.flake8
AutoTune.cpp Prevent snprintf vulnerability 2023-06-23 08:52:20 -07:00
AutoTune.h Remove unused unordered_map include. (#2900) 2023-06-07 12:39:24 -07:00
CMakeLists.txt split off RQ encoding steps to another file (#3011) 2023-09-01 07:06:14 -07:00
Clustering.cpp Cleanup clustering code (#3030) 2023-08-31 01:11:45 -07:00
Clustering.h Cleanup clustering code (#3030) 2023-08-31 01:11:45 -07:00
IVFlib.cpp Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
IVFlib.h
Index.cpp
Index.h Prepare for v1.7.4 release (#2820) 2023-04-19 06:18:30 -07:00
Index2Layer.cpp
Index2Layer.h
IndexAdditiveQuantizer.cpp Clean up batch comments + obey IO_FLAG_SKIP_PRECOMPUTE_TABLE (#3013) 2023-09-01 07:06:14 -07:00
IndexAdditiveQuantizer.h
IndexAdditiveQuantizerFastScan.cpp
IndexAdditiveQuantizerFastScan.h
IndexBinary.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexBinary.h Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexBinaryFlat.cpp enable approx top-k for hamming_kc() and IndexBinaryFlat (#2787) 2023-03-28 18:46:53 -07:00
IndexBinaryFlat.h enable approx top-k for hamming_kc() and IndexBinaryFlat (#2787) 2023-03-28 18:46:53 -07:00
IndexBinaryFromFloat.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexBinaryFromFloat.h
IndexBinaryHNSW.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexBinaryHNSW.h
IndexBinaryHash.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexBinaryHash.h
IndexBinaryIVF.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexBinaryIVF.h evaluation script + IVF block search (#2781) 2023-03-24 13:54:08 -07:00
IndexFastScan.cpp
IndexFastScan.h
IndexFlat.cpp HNSW speedup + Distance 4 points (#2841) 2023-05-05 16:13:16 -07:00
IndexFlat.h HNSW speedup + Distance 4 points (#2841) 2023-05-05 16:13:16 -07:00
IndexFlatCodes.cpp IVF sorting routine (#2846) 2023-05-04 09:59:06 -07:00
IndexFlatCodes.h IVF sorting routine (#2846) 2023-05-04 09:59:06 -07:00
IndexHNSW.cpp make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
IndexHNSW.h make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
IndexIDMap.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexIDMap.h Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexIVF.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVF.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFAdditiveQuantizer.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFAdditiveQuantizer.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFAdditiveQuantizerFastScan.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFAdditiveQuantizerFastScan.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFFastScan.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFFastScan.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFFlat.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFFlat.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFIndependentQuantizer.cpp Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
IndexIVFIndependentQuantizer.h Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
IndexIVFPQ.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexIVFPQ.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFPQFastScan.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFPQFastScan.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFPQR.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFPQR.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVFSpectralHash.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexIVFSpectralHash.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexLSH.cpp
IndexLSH.h
IndexLattice.cpp
IndexLattice.h
IndexNNDescent.cpp Implemented Jaccard distance (#2684) 2023-02-27 07:49:42 -08:00
IndexNNDescent.h
IndexNSG.cpp make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
IndexNSG.h make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
IndexPQ.cpp use dispatcher function to call HammingComputer (#2918) 2023-06-26 14:06:10 -07:00
IndexPQ.h
IndexPQFastScan.cpp
IndexPQFastScan.h
IndexPreTransform.cpp Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
IndexPreTransform.h
IndexRefine.cpp
IndexRefine.h
IndexReplicas.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexReplicas.h
IndexRowwiseMinMax.cpp
IndexRowwiseMinMax.h
IndexScalarQuantizer.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexScalarQuantizer.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexShards.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
IndexShards.h
IndexShardsIVF.cpp
IndexShardsIVF.h
MatrixStats.cpp Cleanup clustering code (#3030) 2023-08-31 01:11:45 -07:00
MatrixStats.h Cleanup clustering code (#3030) 2023-08-31 01:11:45 -07:00
MetaIndexes.cpp Implemented Jaccard distance (#2684) 2023-02-27 07:49:42 -08:00
MetaIndexes.h
MetricType.h Implemented Jaccard distance (#2684) 2023-02-27 07:49:42 -08:00
VectorTransform.cpp Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
VectorTransform.h Support independent IVF coarse quantizer 2023-05-26 02:59:01 -07:00
clone_index.cpp Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
clone_index.h Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
index_factory.cpp make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
index_factory.h
index_io.h