Struct PyCallbackIDSelectorΒΆ

struct PyCallbackIDSelector : public faiss::IDSelector

Public Functions

explicit PyCallbackIDSelector(PyObject *callback)
bool is_member(faiss::idx_t id) const override
~PyCallbackIDSelector() override

Public Members

PyObject *callback