faiss/tests
Check Deng 885d87f712 Support NSG in the index factory (#1758)
Summary:
## Description
This PR added NSG into the index factory. Here are the supported index strings:
1. `NSG{0}` or `NSG{0},Flat`: Create an IndexNSGFlat with `R = {0}`.
2. `IVF{0}_NSG{1},{2}`: Create an IndexIVF using NSG as a coarse quantizer where `ncentroids = {0}`, `R = {1}` and `{2}` is the second level quantizer.

These two types of indexes may be the most useful ones. Other composite indexes could be supported in the future.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1758

Test Plan: buck test //faiss/tests/:test_factory

Reviewed By: beauby

Differential Revision: D27189479

Pulled By: mdouze

fbshipit-source-id: b60000f985c490ef2e7bc561b4e209f9f61c3cc8
2021-03-23 07:28:20 -07:00
..
CMakeLists.txt
common.py
test_autotune.py PQ4 fast scan benchmarks (#1555) 2020-12-16 01:18:58 -08:00
test_binary_factory.py
test_binary_flat.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_binary_hashindex.py Fix order of results for IndexBinaryHash and IndexBinaryMultiHash 2021-02-08 18:22:55 -08:00
test_binary_io.py
test_build_blocks.py Add NNDescent to faiss (#1654) 2021-02-25 16:48:28 -08:00
test_contrib.py Add preassigned functions to contrib 2021-02-25 11:39:07 -08:00
test_dealloc_invlists.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_documentation.py Add docstrings for most of the replaced index methods 2021-03-05 17:19:17 -08:00
test_extra_distances.py Add range search accuracy evaluation 2020-12-17 17:17:09 -08:00
test_factory.py Support NSG in the index factory (#1758) 2021-03-23 07:28:20 -07:00
test_fast_scan.py Re-enable fast scan on Windows tests (#1663) 2021-02-03 07:48:52 -08:00
test_fast_scan_ivf.py Re-enable fast scan on Windows tests (#1663) 2021-02-03 07:48:52 -08:00
test_index.py Add NSG (#1707) 2021-03-10 15:03:00 -08:00
test_index_accuracy.py Add NSG (#1707) 2021-03-10 15:03:00 -08:00
test_index_binary.py Handle the situation where nprobe > nlist in IndexBinaryIVF (#1695) 2021-02-23 12:20:37 -08:00
test_index_binary_from_float.py Fix inefficient float / binary conversion 2021-03-01 21:43:31 -08:00
test_index_composite.py
test_io.py Implement serialization of indexes 2021-02-19 12:08:27 -08:00
test_ivflib.py Handle the situation where nprobe > nlist in IndexBinaryIVF (#1695) 2021-02-23 12:20:37 -08:00
test_ivfpq_codec.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_ivfpq_indexing.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_lowlevel_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_merge.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_meta_index.py Small fixes for compilation on ARM (#1655) 2021-01-29 10:06:45 -08:00
test_omp_threads.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_omp_threads_py.py
test_ondisk_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_oom_exception.py Add range search accuracy evaluation 2020-12-17 17:17:09 -08:00
test_pairs_decoding.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_params_override.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_partition.py Fix unused variables in python 2021-02-24 11:52:18 -08:00
test_pq_encoding.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_product_quantizer.py reduce nb of pq training iterations in test 2020-11-08 22:26:08 -08:00
test_referenced_objects.py
test_refine.py PQ4 fast scan benchmarks (#1555) 2020-12-16 01:18:58 -08:00
test_sliding_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_standalone_codec.py Fix unused variables in python 2021-02-24 11:52:18 -08:00
test_threaded_index.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_transfer_invlists.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
torch_test_contrib.py