MCPcopy Create free account
hub / github.com/NGT-labs/NGT / constructQueryObject

Method constructQueryObject

lib/NGT/ObjectSpace.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void *NGT::Quantizer::constructQueryObject(std::vector<float> &query, ObjectSpace &objectSpace) {
156 auto *quantizedQuery = new NGT::Quantizer::Query;
157 setQuantizedQuery(query, *quantizedQuery, objectSpace);
158 return quantizedQuery;
159}
160
161void *NGT::Quantizer::constructQueryObject() {
162 auto *quantizedQuery = new NGT::Quantizer::Query;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected