Replies: 1 comment
For the functions (add, storage_distance_computer, set_query, add_with_locks)
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
i am new to coding,In IndexHNSW.cpp, the storage is always IndexPQ or not?
in void IndexHNSW::add()
{ ....
storage->add(n, x);
....
}
will it use the add method in IndexFlatCodes? because i see there is no add() in indexPQ and IndexPQ : IndexFlatCodes
in void hnsw_add_vertices()
{ ....
std::unique_ptr dis(storage_distance_computer(index_hnsw.storage));
....
}
but i think that DistanceComputer doesnt work for PQ
Which method is actually used by HNSWPQ? For these functions,(add, storage_distance_computer, set_query, add_with_locks)
i want to know how faiss combined HNSW and PQ in code, but i am confused
All reactions