MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / load

Method load

python_bindings/ivf_bindings.cpp:116–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 );
115
116 rabitqlib::ivf::parallel_for(
117 0,
118 nq,
119 num_threads,
120 [&](size_t idx, size_t /*threadId*/) {
121 index_->search(
122 query_array.data() + (idx * dim_),
123 k,
124 nprobe,
125 ids_data + (idx * k),
126 dists_data + (idx * k),
127 high_accuracy
128 );
129 }
130 );

Callers

nothing calls this directly

Calls 5

dimensionMethod · 0.45
max_elementsMethod · 0.45
num_clustersMethod · 0.45
nbitsMethod · 0.45
metric_typeMethod · 0.45

Tested by

no test coverage detected