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

Method SymqgIndex

python_bindings/symqg_bindings.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17class SymqgIndex {
18 public:
19 SymqgIndex(size_t dim, size_t max_degree, const std::string& metric = "l2")
20 : dim_(dim)
21 , max_degree_(max_degree)
22 , metric_(metric_from_string(metric)) {}
23
24 void build(py::handle data, size_t ef_construction, size_t num_threads = 1) {
25 auto data_array = ensure_2d_array<float>(data, "data");

Callers

nothing calls this directly

Calls 1

metric_from_stringFunction · 0.85

Tested by

no test coverage detected