MCPcopy Create free account
hub / github.com/antgroup/vsag / GetCodeByInnerId

Method GetCodeByInnerId

src/algorithm/ivf.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void
279IVF::GetCodeByInnerId(InnerIdType inner_id, uint8_t* data) const {
280 auto [bucket_id, offset_id] = this->get_location(inner_id);
281 this->bucket_->GetCodesById(bucket_id, offset_id, data);
282}
283
284void
285IVF::InitFeatures() {

Callers 2

GetCentroidMethod · 0.45

Calls 2

get_locationMethod · 0.95
GetCodesByIdMethod · 0.45

Tested by

no test coverage detected