2018-12-20 00:48:35 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
< title > Faiss: faiss::IndexIVFFlatDedup Struct Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > Faiss
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Namespaces< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Friends< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacefaiss.html" > faiss< / a > < / li > < li class = "navelem" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html" > IndexIVFFlatDedup< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "structfaiss_1_1IndexIVFFlatDedup-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > faiss::IndexIVFFlatDedup Struct Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
Inheritance diagram for faiss::IndexIVFFlatDedup:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "structfaiss_1_1IndexIVFFlatDedup.png" usemap = "#faiss::IndexIVFFlatDedup_map" alt = "" / >
< map id = "faiss::IndexIVFFlatDedup_map" name = "faiss::IndexIVFFlatDedup_map" >
< area href = "structfaiss_1_1IndexIVFFlat.html" alt = "faiss::IndexIVFFlat" shape = "rect" coords = "81,112,233,136" / >
< area href = "structfaiss_1_1IndexIVF.html" alt = "faiss::IndexIVF" shape = "rect" coords = "81,56,233,80" / >
< area href = "structfaiss_1_1Index.html" alt = "faiss::Index" shape = "rect" coords = "0,0,152,24" / >
< area href = "structfaiss_1_1Level1Quantizer.html" alt = "faiss::Level1Quantizer" shape = "rect" coords = "162,0,314,24" / >
< / map >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:aab77538457b98393a68aa7dfd07e4f55" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aab77538457b98393a68aa7dfd07e4f55" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > IndexIVFFlatDedup< / b > (< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *< a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a3cf99e2ee92b8558a066f821efab95d5" > quantizer< / a > , size_t < a class = "el" href = "structfaiss_1_1Index.html#a2a002388d2c081c2dbab8508dcefe73d" > d< / a > , size_t nlist_, < a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a > =METRIC_L2)< / td > < / tr >
< tr class = "separator:aab77538457b98393a68aa7dfd07e4f55" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a24002a8c3f12aa2784833c14b13b427e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a24002a8c3f12aa2784833c14b13b427e" > < / a >
2019-05-28 22:17:22 +08:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#a24002a8c3f12aa2784833c14b13b427e" > train< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x) override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:a24002a8c3f12aa2784833c14b13b427e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > also dedups the training set < br / > < / td > < / tr >
< tr class = "separator:a24002a8c3f12aa2784833c14b13b427e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae1d5f41f4987f4e02938738436f082bf" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ae1d5f41f4987f4e02938738436f082bf" > < / a >
2019-05-28 22:17:22 +08:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#ae1d5f41f4987f4e02938738436f082bf" > add_with_ids< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, const long *xids) override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:ae1d5f41f4987f4e02938738436f082bf" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > implemented for all IndexIVF* classes < br / > < / td > < / tr >
< tr class = "separator:ae1d5f41f4987f4e02938738436f082bf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a88f84494a02e8ceab79982bcbcab4fa5" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#a88f84494a02e8ceab79982bcbcab4fa5" > search_preassigned< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > k, const < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *< a class = "el" href = "structfaiss_1_1Index.html#a8bc5d8d1cd0dd7b34b3c98a9f76b4a9c" > assign< / a > , const float *centroid_dis, float *distances, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *labels, bool store_pairs, const < a class = "el" href = "structfaiss_1_1IVFSearchParameters.html" > IVFSearchParameters< / a > *params=nullptr) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a88f84494a02e8ceab79982bcbcab4fa5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aae53833bb1e4041358cd4e5407d6a296" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aae53833bb1e4041358cd4e5407d6a296" > < / a >
long  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#aae53833bb1e4041358cd4e5407d6a296" > remove_ids< / a > (const < a class = "el" href = "structfaiss_1_1IDSelector.html" > IDSelector< / a > & sel) override< / td > < / tr >
< tr class = "memdesc:aae53833bb1e4041358cd4e5407d6a296" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dataset manipulation functions. < br / > < / td > < / tr >
< tr class = "separator:aae53833bb1e4041358cd4e5407d6a296" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acb4f1350039546f5001c5fc36ac0fb2d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "acb4f1350039546f5001c5fc36ac0fb2d" > < / a >
2019-05-28 22:17:22 +08:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#acb4f1350039546f5001c5fc36ac0fb2d" > range_search< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, float radius, < a class = "el" href = "structfaiss_1_1RangeSearchResult.html" > RangeSearchResult< / a > *result) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:acb4f1350039546f5001c5fc36ac0fb2d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > not implemented < br / > < / td > < / tr >
< tr class = "separator:acb4f1350039546f5001c5fc36ac0fb2d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0782b04472858d993ad4c0ffc81b1844" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0782b04472858d993ad4c0ffc81b1844" > < / a >
2019-05-28 22:17:22 +08:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#a0782b04472858d993ad4c0ffc81b1844" > update_vectors< / a > (int nv, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *idx, const float *v) override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:a0782b04472858d993ad4c0ffc81b1844" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > not implemented < br / > < / td > < / tr >
< tr class = "separator:a0782b04472858d993ad4c0ffc81b1844" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adedda3a8e10704acc5639b7f6aa065f7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "adedda3a8e10704acc5639b7f6aa065f7" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#adedda3a8e10704acc5639b7f6aa065f7" > reconstruct_from_offset< / a > (long list_no, long offset, float *recons) const override< / td > < / tr >
< tr class = "memdesc:adedda3a8e10704acc5639b7f6aa065f7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > not implemented < br / > < / td > < / tr >
< tr class = "separator:adedda3a8e10704acc5639b7f6aa065f7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_structfaiss_1_1IndexIVFFlat" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_structfaiss_1_1IndexIVFFlat')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "structfaiss_1_1IndexIVFFlat.html" > faiss::IndexIVFFlat< / a > < / td > < / tr >
< tr class = "memitem:ac7188ca1359dee33ccc8ba4233a8c078 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac7188ca1359dee33ccc8ba4233a8c078" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > IndexIVFFlat< / b > (< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *< a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a3cf99e2ee92b8558a066f821efab95d5" > quantizer< / a > , size_t < a class = "el" href = "structfaiss_1_1Index.html#a2a002388d2c081c2dbab8508dcefe73d" > d< / a > , size_t nlist_, < a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a > =METRIC_L2)< / td > < / tr >
< tr class = "separator:ac7188ca1359dee33ccc8ba4233a8c078 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aea729c3d8c70bdd93f8e413e834851a4 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aea729c3d8c70bdd93f8e413e834851a4" > < / a >
2019-05-28 22:17:22 +08:00
virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlat.html#aea729c3d8c70bdd93f8e413e834851a4" > add_core< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, const long *xids, const long *precomputed_idx)< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:aea729c3d8c70bdd93f8e413e834851a4 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > same as add_with_ids, with precomputed coarse quantizer < br / > < / td > < / tr >
< tr class = "separator:aea729c3d8c70bdd93f8e413e834851a4 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a2c445db1ccbad852dad17e60e0fac950 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlat.html#a2c445db1ccbad852dad17e60e0fac950" > encode_vectors< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, const < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *list_nos, uint8_t *codes) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a2c445db1ccbad852dad17e60e0fac950 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a05cbcc239916559b29b1eb1943b00440 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a05cbcc239916559b29b1eb1943b00440" > < / a >
< a class = "el" href = "structfaiss_1_1InvertedListScanner.html" > InvertedListScanner< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlat.html#a05cbcc239916559b29b1eb1943b00440" > get_InvertedListScanner< / a > (bool store_pairs) const override< / td > < / tr >
< tr class = "memdesc:a05cbcc239916559b29b1eb1943b00440 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > get a scanner for this index (store_pairs means ignore labels) < br / > < / td > < / tr >
< tr class = "separator:a05cbcc239916559b29b1eb1943b00440 inherit pub_methods_structfaiss_1_1IndexIVFFlat" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_structfaiss_1_1IndexIVF" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_structfaiss_1_1IndexIVF')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "structfaiss_1_1IndexIVF.html" > faiss::IndexIVF< / a > < / td > < / tr >
< tr class = "memitem:a7077b7e60e250b9a84c49ff38205bbbf inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a7077b7e60e250b9a84c49ff38205bbbf" > IndexIVF< / a > (< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *< a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a3cf99e2ee92b8558a066f821efab95d5" > quantizer< / a > , size_t < a class = "el" href = "structfaiss_1_1Index.html#a2a002388d2c081c2dbab8508dcefe73d" > d< / a > , size_t < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a1c4fc9d874d9492ee0ea27a5be388fa7" > nlist< / a > , size_t < a class = "el" href = "structfaiss_1_1IndexIVF.html#a46d1aeddb60643c5b3f096147c3e028f" > code_size< / a > , < a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a > metric=METRIC_L2)< / td > < / tr >
< tr class = "separator:a7077b7e60e250b9a84c49ff38205bbbf inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a47a3b7665e9d2be41c6d3b2e9144b73f inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a47a3b7665e9d2be41c6d3b2e9144b73f" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a47a3b7665e9d2be41c6d3b2e9144b73f" > reset< / a > () override< / td > < / tr >
< tr class = "memdesc:a47a3b7665e9d2be41c6d3b2e9144b73f inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > removes all elements from the database. < br / > < / td > < / tr >
< tr class = "separator:a47a3b7665e9d2be41c6d3b2e9144b73f inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a821002a9d3a1a74dc8d6f6072eca4075 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a821002a9d3a1a74dc8d6f6072eca4075" > < / a >
2019-05-28 22:17:22 +08:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a821002a9d3a1a74dc8d6f6072eca4075" > add< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x) override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:a821002a9d3a1a74dc8d6f6072eca4075 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Calls add_with_ids with NULL ids. < br / > < / td > < / tr >
< tr class = "separator:a821002a9d3a1a74dc8d6f6072eca4075 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a567ef760fd09d09ce2ee4f4e6c2d7280 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a567ef760fd09d09ce2ee4f4e6c2d7280" > train_residual< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x)< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a567ef760fd09d09ce2ee4f4e6c2d7280 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:ae2fd47b7d52603659e269aa8f6abb613 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#ae2fd47b7d52603659e269aa8f6abb613" > search< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > k, float *distances, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *labels) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:ae2fd47b7d52603659e269aa8f6abb613 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a20105e3d7c531d6b03bd39b296e39e43 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a20105e3d7c531d6b03bd39b296e39e43" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > range_search_preassigned< / b > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > nx, const float *x, float radius, const < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *keys, const float *coarse_dis, < a class = "el" href = "structfaiss_1_1RangeSearchResult.html" > RangeSearchResult< / a > *result) const < / td > < / tr >
< tr class = "separator:a20105e3d7c531d6b03bd39b296e39e43 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3b3270dcfa248dc30117644382a54e39 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a3b3270dcfa248dc30117644382a54e39" > reconstruct< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > key, float *recons) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a3b3270dcfa248dc30117644382a54e39 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a7cc286dfbd8bfd43ea4b22173e28231c inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a7cc286dfbd8bfd43ea4b22173e28231c" > reconstruct_n< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > i0, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > ni, float *recons) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a7cc286dfbd8bfd43ea4b22173e28231c inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a77aec24920024a09f7661790d9534c10 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a77aec24920024a09f7661790d9534c10" > search_and_reconstruct< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > k, float *distances, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *labels, float *recons) const override< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a77aec24920024a09f7661790d9534c10 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7fc8b9a1fff9f3d24cf7055fbc4fed7b inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a7fc8b9a1fff9f3d24cf7055fbc4fed7b" > check_compatible_for_merge< / a > (const < a class = "el" href = "structfaiss_1_1IndexIVF.html" > IndexIVF< / a > & other) const < / td > < / tr >
< tr class = "separator:a7fc8b9a1fff9f3d24cf7055fbc4fed7b inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a0f22cc237c30c935df5b6560aecf8f01 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a0f22cc237c30c935df5b6560aecf8f01" > merge_from< / a > (< a class = "el" href = "structfaiss_1_1IndexIVF.html" > IndexIVF< / a > & other, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > add_id)< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a0f22cc237c30c935df5b6560aecf8f01 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:aa64ecc5e7b286e9b0f252796edd4714b inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#aa64ecc5e7b286e9b0f252796edd4714b" > copy_subset_to< / a > (< a class = "el" href = "structfaiss_1_1IndexIVF.html" > IndexIVF< / a > & other, int subset_type, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > a1, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > a2) const < / td > < / tr >
< tr class = "separator:aa64ecc5e7b286e9b0f252796edd4714b inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memitem:a0475311f5faee84d024066906bae0bbd inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0475311f5faee84d024066906bae0bbd" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > get_list_size< / b > (size_t list_no) const < / td > < / tr >
< tr class = "separator:a0475311f5faee84d024066906bae0bbd inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1c11ce77f459e2ab3e5d9a4c2263ad89 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a1c11ce77f459e2ab3e5d9a4c2263ad89" > make_direct_map< / a > (bool new_maintain_direct_map=true)< / td > < / tr >
< tr class = "separator:a1c11ce77f459e2ab3e5d9a4c2263ad89 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4eb943aeb7df30d44ad9b665452bfcf7 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a4eb943aeb7df30d44ad9b665452bfcf7" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a4eb943aeb7df30d44ad9b665452bfcf7" > replace_invlists< / a > (< a class = "el" href = "structfaiss_1_1InvertedLists.html" > InvertedLists< / a > *il, bool own=false)< / td > < / tr >
< tr class = "memdesc:a4eb943aeb7df30d44ad9b665452bfcf7 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > replace the inverted lists, old one is deallocated if own_invlists < br / > < / td > < / tr >
< tr class = "separator:a4eb943aeb7df30d44ad9b665452bfcf7 inherit pub_methods_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_structfaiss_1_1Index" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_structfaiss_1_1Index')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "structfaiss_1_1Index.html" > faiss::Index< / a > < / td > < / tr >
< tr class = "memitem:a7b8cc435b5619d5d8382010a424bf67e inherit pub_methods_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7b8cc435b5619d5d8382010a424bf67e" > < / a >
2019-05-28 22:17:22 +08:00
  < / td > < td class = "memItemRight" valign = "bottom" > < b > Index< / b > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > < a class = "el" href = "structfaiss_1_1Index.html#a2a002388d2c081c2dbab8508dcefe73d" > d< / a > =0, < a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a > metric=METRIC_L2)< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a7b8cc435b5619d5d8382010a424bf67e inherit pub_methods_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a8bc5d8d1cd0dd7b34b3c98a9f76b4a9c inherit pub_methods_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a8bc5d8d1cd0dd7b34b3c98a9f76b4a9c" > assign< / a > (< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > n, const float *x, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *labels, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > k=1)< / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a8bc5d8d1cd0dd7b34b3c98a9f76b4a9c inherit pub_methods_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:aaae77608bbda70b1098897e9167a82f9 inherit pub_methods_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#aaae77608bbda70b1098897e9167a82f9" > compute_residual< / a > (const float *x, float *residual, < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > key) const < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:aaae77608bbda70b1098897e9167a82f9 inherit pub_methods_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a373c30e3d87d1d4e616f450d87152b1a inherit pub_methods_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a373c30e3d87d1d4e616f450d87152b1a" > display< / a > () const < / td > < / tr >
< tr class = "separator:a373c30e3d87d1d4e616f450d87152b1a inherit pub_methods_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_structfaiss_1_1Level1Quantizer" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_structfaiss_1_1Level1Quantizer')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "structfaiss_1_1Level1Quantizer.html" > faiss::Level1Quantizer< / a > < / td > < / tr >
< tr class = "memitem:a0069a6ee1e32c2e0c1c7df9a95740dd4 inherit pub_methods_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0069a6ee1e32c2e0c1c7df9a95740dd4" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a0069a6ee1e32c2e0c1c7df9a95740dd4" > train_q1< / a > (size_t n, const float *x, bool verbose, < a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a > metric_type)< / td > < / tr >
< tr class = "memdesc:a0069a6ee1e32c2e0c1c7df9a95740dd4 inherit pub_methods_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Trains the quantizer and calls train_residual to train sub-quantizers. < br / > < / td > < / tr >
< tr class = "separator:a0069a6ee1e32c2e0c1c7df9a95740dd4 inherit pub_methods_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7262e1eb542b177308dab0c043e90d01 inherit pub_methods_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7262e1eb542b177308dab0c043e90d01" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > Level1Quantizer< / b > (< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *< a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a3cf99e2ee92b8558a066f821efab95d5" > quantizer< / a > , size_t < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a1c4fc9d874d9492ee0ea27a5be388fa7" > nlist< / a > )< / td > < / tr >
< tr class = "separator:a7262e1eb542b177308dab0c043e90d01 inherit pub_methods_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a1ff220494d504dd806e5daf290ec0e7a" > < td class = "memItemLeft" align = "right" valign = "top" > std::unordered_multimap< < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > , < br class = "typebreak" / >
< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVFFlatDedup.html#a1ff220494d504dd806e5daf290ec0e7a" > instances< / a > < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "separator:a1ff220494d504dd806e5daf290ec0e7a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_attribs_structfaiss_1_1IndexIVF" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_attribs_structfaiss_1_1IndexIVF')" > < img src = "closed.png" alt = "-" / >   Public Attributes inherited from < a class = "el" href = "structfaiss_1_1IndexIVF.html" > faiss::IndexIVF< / a > < / td > < / tr >
< tr class = "memitem:aa0e8fc5e04cbd8e0dde61f98bc7dd0bc inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa0e8fc5e04cbd8e0dde61f98bc7dd0bc" > < / a >
< a class = "el" href = "structfaiss_1_1InvertedLists.html" > InvertedLists< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#aa0e8fc5e04cbd8e0dde61f98bc7dd0bc" > invlists< / a > < / td > < / tr >
< tr class = "memdesc:aa0e8fc5e04cbd8e0dde61f98bc7dd0bc inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Acess to the actual data. < br / > < / td > < / tr >
< tr class = "separator:aa0e8fc5e04cbd8e0dde61f98bc7dd0bc inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5743b18d78fe1b9910d8ff8670f207d7 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a5743b18d78fe1b9910d8ff8670f207d7" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > own_invlists< / b > < / td > < / tr >
< tr class = "separator:a5743b18d78fe1b9910d8ff8670f207d7 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a46d1aeddb60643c5b3f096147c3e028f inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a46d1aeddb60643c5b3f096147c3e028f" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a46d1aeddb60643c5b3f096147c3e028f" > code_size< / a > < / td > < / tr >
< tr class = "memdesc:a46d1aeddb60643c5b3f096147c3e028f inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > code size per vector in bytes < br / > < / td > < / tr >
< tr class = "separator:a46d1aeddb60643c5b3f096147c3e028f inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:affed235eadf27a13d753ee4d33a1dc58 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "affed235eadf27a13d753ee4d33a1dc58" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#affed235eadf27a13d753ee4d33a1dc58" > nprobe< / a > < / td > < / tr >
< tr class = "memdesc:affed235eadf27a13d753ee4d33a1dc58 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > number of probes at query time < br / > < / td > < / tr >
< tr class = "separator:affed235eadf27a13d753ee4d33a1dc58 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7f2dd34f66f8770acba74a0a591fa4a8 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7f2dd34f66f8770acba74a0a591fa4a8" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a7f2dd34f66f8770acba74a0a591fa4a8" > max_codes< / a > < / td > < / tr >
< tr class = "memdesc:a7f2dd34f66f8770acba74a0a591fa4a8 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > max nb of codes to visit to do a query < br / > < / td > < / tr >
< tr class = "separator:a7f2dd34f66f8770acba74a0a591fa4a8 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a244ec2067da495ff1493687e0048ae02 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#a244ec2067da495ff1493687e0048ae02" > parallel_mode< / a > < / td > < / tr >
< tr class = "separator:a244ec2067da495ff1493687e0048ae02 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memitem:aedd0c14b5654295b291638ec7f9f9517 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aedd0c14b5654295b291638ec7f9f9517" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1IndexIVF.html#aedd0c14b5654295b291638ec7f9f9517" > maintain_direct_map< / a > < / td > < / tr >
< tr class = "memdesc:aedd0c14b5654295b291638ec7f9f9517 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > map for direct access to the elements. Enables < a class = "el" href = "structfaiss_1_1IndexIVF.html#a3b3270dcfa248dc30117644382a54e39" > reconstruct()< / a > . < br / > < / td > < / tr >
< tr class = "separator:aedd0c14b5654295b291638ec7f9f9517 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:a009f1cf185e6468de2c4ec5cb8766469 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a009f1cf185e6468de2c4ec5cb8766469" > < / a >
std::vector< < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < b > direct_map< / b > < / td > < / tr >
< tr class = "separator:a009f1cf185e6468de2c4ec5cb8766469 inherit pub_attribs_structfaiss_1_1IndexIVF" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "inherit_header pub_attribs_structfaiss_1_1Index" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_attribs_structfaiss_1_1Index')" > < img src = "closed.png" alt = "-" / >   Public Attributes inherited from < a class = "el" href = "structfaiss_1_1Index.html" > faiss::Index< / a > < / td > < / tr >
< tr class = "memitem:a2a002388d2c081c2dbab8508dcefe73d inherit pub_attribs_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a2a002388d2c081c2dbab8508dcefe73d" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a2a002388d2c081c2dbab8508dcefe73d" > d< / a > < / td > < / tr >
< tr class = "memdesc:a2a002388d2c081c2dbab8508dcefe73d inherit pub_attribs_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > vector dimension < br / > < / td > < / tr >
< tr class = "separator:a2a002388d2c081c2dbab8508dcefe73d inherit pub_attribs_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6970683faa021b7a6f1a0865c0d4eccd inherit pub_attribs_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6970683faa021b7a6f1a0865c0d4eccd" > < / a >
2019-05-28 22:17:22 +08:00
< a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a6970683faa021b7a6f1a0865c0d4eccd" > ntotal< / a > < / td > < / tr >
2018-12-20 00:48:35 +08:00
< tr class = "memdesc:a6970683faa021b7a6f1a0865c0d4eccd inherit pub_attribs_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > total nb of indexed vectors < br / > < / td > < / tr >
< tr class = "separator:a6970683faa021b7a6f1a0865c0d4eccd inherit pub_attribs_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5590d847c5c2b958affd2a05e58a6f23 inherit pub_attribs_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a5590d847c5c2b958affd2a05e58a6f23" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a5590d847c5c2b958affd2a05e58a6f23" > verbose< / a > < / td > < / tr >
< tr class = "memdesc:a5590d847c5c2b958affd2a05e58a6f23 inherit pub_attribs_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > verbosity level < br / > < / td > < / tr >
< tr class = "separator:a5590d847c5c2b958affd2a05e58a6f23 inherit pub_attribs_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6e92732617c4dbe364e7678dd8773a7f inherit pub_attribs_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6e92732617c4dbe364e7678dd8773a7f" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a6e92732617c4dbe364e7678dd8773a7f" > is_trained< / a > < / td > < / tr >
< tr class = "memdesc:a6e92732617c4dbe364e7678dd8773a7f inherit pub_attribs_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > set if the < a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > does not require training, or if training is done already < br / > < / td > < / tr >
< tr class = "separator:a6e92732617c4dbe364e7678dd8773a7f inherit pub_attribs_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8e18f641854b2bde83ecff0a2f9a6f4e inherit pub_attribs_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a8e18f641854b2bde83ecff0a2f9a6f4e" > < / a >
< a class = "el" href = "namespacefaiss.html#afd12191c638da74760ff397cf319752c" > MetricType< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#a8e18f641854b2bde83ecff0a2f9a6f4e" > metric_type< / a > < / td > < / tr >
< tr class = "memdesc:a8e18f641854b2bde83ecff0a2f9a6f4e inherit pub_attribs_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > type of metric this index uses for search < br / > < / td > < / tr >
< tr class = "separator:a8e18f641854b2bde83ecff0a2f9a6f4e inherit pub_attribs_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_attribs_structfaiss_1_1Level1Quantizer" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_attribs_structfaiss_1_1Level1Quantizer')" > < img src = "closed.png" alt = "-" / >   Public Attributes inherited from < a class = "el" href = "structfaiss_1_1Level1Quantizer.html" > faiss::Level1Quantizer< / a > < / td > < / tr >
< tr class = "memitem:a3cf99e2ee92b8558a066f821efab95d5 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a3cf99e2ee92b8558a066f821efab95d5" > < / a >
< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a3cf99e2ee92b8558a066f821efab95d5" > quantizer< / a > < / td > < / tr >
< tr class = "memdesc:a3cf99e2ee92b8558a066f821efab95d5 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > quantizer that maps vectors to inverted lists < br / > < / td > < / tr >
< tr class = "separator:a3cf99e2ee92b8558a066f821efab95d5 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1c4fc9d874d9492ee0ea27a5be388fa7 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a1c4fc9d874d9492ee0ea27a5be388fa7" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a1c4fc9d874d9492ee0ea27a5be388fa7" > nlist< / a > < / td > < / tr >
< tr class = "memdesc:a1c4fc9d874d9492ee0ea27a5be388fa7 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > number of possible key values < br / > < / td > < / tr >
< tr class = "separator:a1c4fc9d874d9492ee0ea27a5be388fa7 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1dcea762fc322fdcffe64f78994edea0 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > char  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a1dcea762fc322fdcffe64f78994edea0" > quantizer_trains_alone< / a > < / td > < / tr >
< tr class = "separator:a1dcea762fc322fdcffe64f78994edea0 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab688c629cd42122d73517078b87f483d inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab688c629cd42122d73517078b87f483d" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#ab688c629cd42122d73517078b87f483d" > own_fields< / a > < / td > < / tr >
< tr class = "memdesc:ab688c629cd42122d73517078b87f483d inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > whether object owns the quantizer < br / > < / td > < / tr >
< tr class = "separator:ab688c629cd42122d73517078b87f483d inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abb7097ed40b15ba0af08af6d03608f72 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "abb7097ed40b15ba0af08af6d03608f72" > < / a >
< a class = "el" href = "structfaiss_1_1ClusteringParameters.html" > ClusteringParameters< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#abb7097ed40b15ba0af08af6d03608f72" > cp< / a > < / td > < / tr >
< tr class = "memdesc:abb7097ed40b15ba0af08af6d03608f72 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > to override default clustering params < br / > < / td > < / tr >
< tr class = "separator:abb7097ed40b15ba0af08af6d03608f72 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a45d29dd6a5c53789c08e5ceb3f63d989 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a45d29dd6a5c53789c08e5ceb3f63d989" > < / a >
< a class = "el" href = "structfaiss_1_1Index.html" > Index< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Level1Quantizer.html#a45d29dd6a5c53789c08e5ceb3f63d989" > clustering_index< / a > < / td > < / tr >
< tr class = "memdesc:a45d29dd6a5c53789c08e5ceb3f63d989 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > to override index used during clustering < br / > < / td > < / tr >
< tr class = "separator:a45d29dd6a5c53789c08e5ceb3f63d989 inherit pub_attribs_structfaiss_1_1Level1Quantizer" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pub_types_structfaiss_1_1Index" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_types_structfaiss_1_1Index')" > < img src = "closed.png" alt = "-" / >   Public Types inherited from < a class = "el" href = "structfaiss_1_1Index.html" > faiss::Index< / a > < / td > < / tr >
2019-05-28 22:17:22 +08:00
< tr class = "memitem:ad3f0d3071f987baabbdd3da4500c87ea inherit pub_types_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad3f0d3071f987baabbdd3da4500c87ea" > < / a >
using  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > = long< / td > < / tr >
< tr class = "memdesc:ad3f0d3071f987baabbdd3da4500c87ea inherit pub_types_structfaiss_1_1Index" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > all indices are this type < br / > < / td > < / tr >
< tr class = "separator:ad3f0d3071f987baabbdd3da4500c87ea inherit pub_types_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af317cb1e2ad0bd145f716f2243b693eb inherit pub_types_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "af317cb1e2ad0bd145f716f2243b693eb" > < / a >
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > component_t< / b > = float< / td > < / tr >
< tr class = "separator:af317cb1e2ad0bd145f716f2243b693eb inherit pub_types_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1c60d7a12bf3ad27054963df8cccd93f inherit pub_types_structfaiss_1_1Index" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a1c60d7a12bf3ad27054963df8cccd93f" > < / a >
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > distance_t< / b > = float< / td > < / tr >
< tr class = "separator:a1c60d7a12bf3ad27054963df8cccd93f inherit pub_types_structfaiss_1_1Index" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-12-20 00:48:35 +08:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2019-05-28 22:17:22 +08:00
< p > Definition at line < a class = "el" href = "IndexIVFFlat_8h_source.html#l00062" > 62< / a > of file < a class = "el" href = "IndexIVFFlat_8h_source.html" > IndexIVFFlat.h< / a > .< / p >
2018-12-20 00:48:35 +08:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a class = "anchor" id = "a88f84494a02e8ceab79982bcbcab4fa5" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void faiss::IndexIVFFlatDedup::search_preassigned < / td >
< td > (< / td >
2019-05-28 22:17:22 +08:00
< td class = "paramtype" > < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a >   < / td >
2018-12-20 00:48:35 +08:00
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const float *  < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2019-05-28 22:17:22 +08:00
< td class = "paramtype" > < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a >   < / td >
2018-12-20 00:48:35 +08:00
< td class = "paramname" > < em > k< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2019-05-28 22:17:22 +08:00
< td class = "paramtype" > const < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *  < / td >
2018-12-20 00:48:35 +08:00
< td class = "paramname" > < em > assign< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const float *  < / td >
< td class = "paramname" > < em > centroid_dis< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > float *  < / td >
< td class = "paramname" > < em > distances< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2019-05-28 22:17:22 +08:00
< td class = "paramtype" > < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > *  < / td >
2018-12-20 00:48:35 +08:00
< td class = "paramname" > < em > labels< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > store_pairs< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const < a class = "el" href = "structfaiss_1_1IVFSearchParameters.html" > IVFSearchParameters< / a > *  < / td >
< td class = "paramname" > < em > params< / em > = < code > nullptr< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > search a set of vectors, that are pre-quantized by the IVF quantizer. Fill in the corresponding heaps with the query results. The default implementation uses InvertedListScanners to do the search.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > n< / td > < td > nb of vectors to query < / td > < / tr >
< tr > < td class = "paramname" > x< / td > < td > query vectors, size nx * d < / td > < / tr >
< tr > < td class = "paramname" > assign< / td > < td > coarse quantization indices, size nx * nprobe < / td > < / tr >
< tr > < td class = "paramname" > centroid_dis< / td > < td > distances to coarse centroids, size nx * nprobe < / td > < / tr >
< tr > < td class = "paramname" > distance< / td > < td > output distances, size n * k < / td > < / tr >
< tr > < td class = "paramname" > labels< / td > < td > output labels, size n * k < / td > < / tr >
< tr > < td class = "paramname" > store_pairs< / td > < td > store inv list index + inv list offset instead in upper/lower 32 bit of result, instead of ids (used for reranking). < / td > < / tr >
< tr > < td class = "paramname" > params< / td > < td > used to override the object's search parameters < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Reimplemented from < a class = "el" href = "structfaiss_1_1IndexIVF.html#a7cf3a1963394f87d61913420a66eb468" > faiss::IndexIVF< / a > .< / p >
2019-05-28 22:17:22 +08:00
< p > Definition at line < a class = "el" href = "IndexIVFFlat_8cpp_source.html#l00326" > 326< / a > of file < a class = "el" href = "IndexIVFFlat_8cpp_source.html" > IndexIVFFlat.cpp< / a > .< / p >
2018-12-20 00:48:35 +08:00
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
< a class = "anchor" id = "a1ff220494d504dd806e5daf290ec0e7a" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2019-05-28 22:17:22 +08:00
< td class = "memname" > std::unordered_multimap< < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > , < a class = "el" href = "structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea" > idx_t< / a > > faiss::IndexIVFFlatDedup::instances< / td >
2018-12-20 00:48:35 +08:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Maps ids stored in the index to the ids of vectors that are the same. When a vector is unique, it does not appear in the instances map < / p >
2019-05-28 22:17:22 +08:00
< p > Definition at line < a class = "el" href = "IndexIVFFlat_8h_source.html#l00067" > 67< / a > of file < a class = "el" href = "IndexIVFFlat_8h_source.html" > IndexIVFFlat.h< / a > .< / p >
2018-12-20 00:48:35 +08:00
< / div >
< / div >
< hr / > The documentation for this struct was generated from the following files:< ul >
2019-05-28 22:17:22 +08:00
< li > /data/users/hoss/faiss/< a class = "el" href = "IndexIVFFlat_8h_source.html" > IndexIVFFlat.h< / a > < / li >
< li > /data/users/hoss/faiss/< a class = "el" href = "IndexIVFFlat_8cpp_source.html" > IndexIVFFlat.cpp< / a > < / li >
2018-12-20 00:48:35 +08:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.5
< / small > < / address >
< / body >
< / html >