Loading core/src/index/knowhere/knowhere/index/vector_index/IndexIVF.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -31,11 +31,14 @@ #include "knowhere/adapter/VectorAdapter.h" #include "knowhere/common/Exception.h" #include "knowhere/common/Log.h" #include "knowhere/index/vector_index/IndexGPUIVF.h" #include "knowhere/index/vector_index/IndexIVF.h" namespace knowhere { using stdclock = std::chrono::high_resolution_clock; IndexModelPtr IVF::Train(const DatasetPtr& dataset, const Config& config) { auto build_cfg = std::dynamic_pointer_cast<IVFCfg>(config); Loading Loading
core/src/index/knowhere/knowhere/index/vector_index/IndexIVF.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -31,11 +31,14 @@ #include "knowhere/adapter/VectorAdapter.h" #include "knowhere/common/Exception.h" #include "knowhere/common/Log.h" #include "knowhere/index/vector_index/IndexGPUIVF.h" #include "knowhere/index/vector_index/IndexIVF.h" namespace knowhere { using stdclock = std::chrono::high_resolution_clock; IndexModelPtr IVF::Train(const DatasetPtr& dataset, const Config& config) { auto build_cfg = std::dynamic_pointer_cast<IVFCfg>(config); Loading