-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add distances for test_performance #305
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: jinjiabao.jjb <[email protected]>
4962088
to
de60643
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
tools/eval_dataset.cpp
Outdated
H5::DataSet dataset = file.openDataSet("/distances"); | ||
H5::DataSpace dataspace = dataset.getSpace(); | ||
H5::FloatType datatype(H5::PredType::NATIVE_FLOAT); | ||
dataset.read(obj->neighbors_.get(), datatype, dataspace); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dataset.read(obj->neighbors_.get(), datatype, dataspace);
-->
dataset.read(obj->distances_.get(), datatype, dataspace);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
tools/test_performance.cpp
Outdated
@@ -32,6 +32,16 @@ using namespace nlohmann; | |||
using namespace spdlog; | |||
using namespace vsag; | |||
|
|||
float | |||
InnerProduct(const void* pVect1, const void* pVect2, const void* qty_ptr) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where usage this method ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed this function
Signed-off-by: jinjiabao.jjb <[email protected]>
No description provided.