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

Method save

python_bindings/ivf_bindings.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void save(const std::string& path) const {
110 if (!built_) {
111 throw std::runtime_error("IvfIndex must be built or loaded before save");
112 }
113 index_->save(path.c_str());
114 }
115
116 static IvfIndex load(const std::string& path) {
117 IvfIndex wrapper;

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected