| 17 | class 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"); |
nothing calls this directly
no test coverage detected