从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
#include <easylogging++.h>
#include "ExecutionEngine.h"
namespace zilliz { namespace vecwise { namespace engine {
Status ExecutionEngine::AddWithIds(const std::vector<float>& vectors, const std::vector<long>& vector_ids) {
long n1 = (long)vectors.size(); long n2 = (long)vector_ids.size(); if (n1 != n2) { LOG(ERROR) << "vectors size is not equal to the size of vector_ids: " << n1 << "!=" << n2;
return Status::Error("Error: AddWithIds");
} return AddWithIds(n1, vectors.data(), vector_ids.data()); } } // namespace engine } // namespace vecwise } // namespace zilliz