<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * Copyright (c) Facebook, Inc. and its affiliates.</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * This source code is licensed under the MIT license found in the</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * LICENSE file in the root directory of this source tree.</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> /// Configuration for the coarse quantizer object</span></div>
<divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> <spanclass="comment"> /// Copy what we need from the CPU equivalent</span></div>
<divclass="line"><aname="l00053"></a><spanclass="lineno"> 53</span> <spanclass="comment"> /// Copy what we have to the CPU equivalent</span></div>
<divclass="line"><aname="l00056"></a><spanclass="lineno"> 56</span> <spanclass="comment"> /// Returns the number of inverted lists we're managing</span></div>
<divclass="line"><aname="l00062"></a><spanclass="lineno"> 62</span> <spanclass="comment"> /// Sets the number of list probes per query</span></div>
<divclass="line"><aname="l00065"></a><spanclass="lineno"> 65</span> <spanclass="comment"> /// Returns our current number of list probes per query</span></div>
<divclass="line"><aname="l00073"></a><spanclass="lineno"> 73</span> <spanclass="comment"> /// Exposed as IndexIVF does to allow overriding clustering</span></div>
<divclass="line"><aname="l00080"></a><spanclass="lineno"> 80</span> <spanclass="comment"> /// Number of inverted lists that we manage</span></div>
<divclass="line"><aname="l00083"></a><spanclass="lineno"> 83</span> <spanclass="comment"> /// Number of inverted list probes per query</span></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a13bce124f8acada641daf60d6edddb33"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a13bce124f8acada641daf60d6edddb33">faiss::gpu::GpuIndexIVF::getNumProbes</a></div><divclass="ttdeci">int getNumProbes() const </div><divclass="ttdoc">Returns our current number of list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00214">GpuIndexIVF.cu:214</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a1efac4b9801d57fa6d0085d6aed9c1f2"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a1efac4b9801d57fa6d0085d6aed9c1f2">faiss::gpu::GpuIndexIVF::setNumProbes</a></div><divclass="ttdeci">void setNumProbes(int nprobe)</div><divclass="ttdoc">Sets the number of list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00205">GpuIndexIVF.cu:205</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a43a63e93d55b79eac38173f219743ddf"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a43a63e93d55b79eac38173f219743ddf">faiss::gpu::GpuIndexIVF::getNumLists</a></div><divclass="ttdeci">int getNumLists() const </div><divclass="ttdoc">Returns the number of inverted lists we&#39;re managing. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00200">GpuIndexIVF.cu:200</a></div></div>
<divclass="ttc"id="structfaiss_1_1Index_html_ad3f0d3071f987baabbdd3da4500c87ea"><divclass="ttname"><ahref="structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea">faiss::Index::idx_t</a></div><divclass="ttdeci">long idx_t</div><divclass="ttdoc">all indices are this type </div><divclass="ttdef"><b>Definition:</b><ahref="Index_8h_source.html#l00062">Index.h:62</a></div></div>
<divclass="ttc"id="structfaiss_1_1gpu_1_1GpuIndexIVFConfig_html_a6d357a9a67a2fed9c8e7b139712d30f6"><divclass="ttname"><ahref="structfaiss_1_1gpu_1_1GpuIndexIVFConfig.html#a6d357a9a67a2fed9c8e7b139712d30f6">faiss::gpu::GpuIndexIVFConfig::flatConfig</a></div><divclass="ttdeci">GpuIndexFlatConfig flatConfig</div><divclass="ttdoc">Configuration for the coarse quantizer object. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00032">GpuIndexIVF.h:32</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_afe6eb789377072b309d7a385aa0d1c5e"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#afe6eb789377072b309d7a385aa0d1c5e">faiss::gpu::GpuIndexIVF::getQuantizer</a></div><divclass="ttdeci">GpuIndexFlat * getQuantizer()</div><divclass="ttdoc">Return the quantizer we&#39;re using. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00074">GpuIndexIVF.cu:74</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a187bdcbbac02bf8fd0e6bb40a1c0426b"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a187bdcbbac02bf8fd0e6bb40a1c0426b">faiss::gpu::GpuIndexIVF::nprobe_</a></div><divclass="ttdeci">int nprobe_</div><divclass="ttdoc">Number of inverted list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00084">GpuIndexIVF.h:84</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a1db0a796b8b2917d989952c5f07fbe55"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a1db0a796b8b2917d989952c5f07fbe55">faiss::gpu::GpuIndexIVF::copyTo</a></div><divclass="ttdeci">void copyTo(faiss::IndexIVF *index) const </div><divclass="ttdoc">Copy what we have to the CPU equivalent. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00153">GpuIndexIVF.cu:153</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_aba606c141e714fab843493cc58167494"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#aba606c141e714fab843493cc58167494">faiss::gpu::GpuIndexIVF::nlist_</a></div><divclass="ttdeci">int nlist_</div><divclass="ttdoc">Number of inverted lists that we manage. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00081">GpuIndexIVF.h:81</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_aaa7dd748e3cbd7ef68f2e384ac503eab"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#aaa7dd748e3cbd7ef68f2e384ac503eab">faiss::gpu::GpuIndexIVF::quantizer_</a></div><divclass="ttdeci">GpuIndexFlat * quantizer_</div><divclass="ttdoc">Quantizer for inverted lists. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00087">GpuIndexIVF.h:87</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a94c2c171f9a2d27085dea9101067bdf2"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a94c2c171f9a2d27085dea9101067bdf2">faiss::gpu::GpuIndexIVF::copyFrom</a></div><divclass="ttdeci">void copyFrom(const faiss::IndexIVF *index)</div><divclass="ttdoc">Copy what we need from the CPU equivalent. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00079">GpuIndexIVF.cu:79</a></div></div>
<divclass="ttc"id="structfaiss_1_1gpu_1_1GpuIndexIVFConfig_html_af432221761d48e4753f501208a60264d"><divclass="ttname"><ahref="structfaiss_1_1gpu_1_1GpuIndexIVFConfig.html#af432221761d48e4753f501208a60264d">faiss::gpu::GpuIndexIVFConfig::indicesOptions</a></div><divclass="ttdeci">IndicesOptions indicesOptions</div><divclass="ttdoc">Index storage options for the GPU. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00029">GpuIndexIVF.h:29</a></div></div>
<divclass="ttc"id="namespacefaiss_html_afd12191c638da74760ff397cf319752c"><divclass="ttname"><ahref="namespacefaiss.html#afd12191c638da74760ff397cf319752c">faiss::MetricType</a></div><divclass="ttdeci">MetricType</div><divclass="ttdoc">Some algorithms support both an inner product version and a L2 search version. </div><divclass="ttdef"><b>Definition:</b><ahref="Index_8h_source.html#l00044">Index.h:44</a></div></div>