diff --git a/xml/index.xml b/xml/index.xml index a4f68c3fa2..b8b491aaa9 100644 --- a/xml/index.xml +++ b/xml/index.xml @@ -9101,6 +9101,9 @@ read_direct_map read_ivf_header read_InvertedLists + set_array_invlist + read_ProductQuantizer + read_ScalarQuantizer fourcc fourcc fourcc_inv diff --git a/xml/index__read__utils_8h.xml b/xml/index__read__utils_8h.xml index a330824f0a..5d3d61ec43 100644 --- a/xml/index__read__utils_8h.xml +++ b/xml/index__read__utils_8h.xml @@ -218,18 +218,25 @@ #pragmaonce namespacefaiss{ - -voidread_index_header(Index*idx,IOReader*f); -voidread_direct_map(DirectMap*dm,IOReader*f); -voidread_ivf_header( -IndexIVF*ivf, -IOReader*f, -std::vector<std::vector<idx_t>>*ids=nullptr); -voidread_InvertedLists(IndexIVF*ivf,IOReader*f,intio_flags); - -}//namespacefaiss - -#endif +structProductQuantizer; +structScalarQuantizer; + +voidread_index_header(Index*idx,IOReader*f); +voidread_direct_map(DirectMap*dm,IOReader*f); +voidread_ivf_header( +IndexIVF*ivf, +IOReader*f, +std::vector<std::vector<idx_t>>*ids=nullptr); +voidread_InvertedLists(IndexIVF*ivf,IOReader*f,intio_flags); +ArrayInvertedLists*set_array_invlist( +IndexIVF*ivf, +std::vector<std::vector<idx_t>>&ids); +voidread_ProductQuantizer(ProductQuantizer*pq,IOReader*f); +voidread_ScalarQuantizer(ScalarQuantizer*ivsc,IOReader*f); + +}//namespacefaiss + +#endif diff --git a/xml/namespacefaiss.xml b/xml/namespacefaiss.xml index d6fa6b301a..af2de5c926 100644 --- a/xml/namespacefaiss.xml +++ b/xml/namespacefaiss.xml @@ -1520,7 +1520,7 @@ - + void @@ -1541,7 +1541,7 @@ - + void @@ -1567,7 +1567,7 @@ - + void @@ -1592,7 +1592,70 @@ - + + + + ArrayInvertedLists * + ArrayInvertedLists* faiss::set_array_invlist + (IndexIVF *ivf, std::vector< std::vector< idx_t >> &ids) + set_array_invlist + + IndexIVF * + ivf + + + std::vector< std::vector< idx_t >> & + ids + + + + + + + + + + + void + void faiss::read_ProductQuantizer + (ProductQuantizer *pq, IOReader *f) + read_ProductQuantizer + + ProductQuantizer * + pq + + + IOReader * + f + + + + + + + + + + + void + void faiss::read_ScalarQuantizer + (ScalarQuantizer *ivsc, IOReader *f) + read_ScalarQuantizer + + ScalarQuantizer * + ivsc + + + IOReader * + f + + + + + + + + uint32_t