-
Notifications
You must be signed in to change notification settings - Fork 24
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 new interface for dataset to get/set num_results #313
base: main
Are you sure you want to change the base?
Conversation
NumResults(int64_t num_results) override { | ||
// To maintain compatibility, we currently ensure that the values in NumResults and Dim are the same. | ||
this->data_[NUM_RESULTS] = num_results; | ||
this->data_[DIM] = num_results; |
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.
Have any dim
and num_results
are used together ?
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.
no, dim
is input while num_results
is output
Codecov ReportAttention: Patch coverage is @@ Coverage Diff @@
## main #313 +/- ##
==========================================
+ Coverage 90.81% 90.85% +0.03%
==========================================
Files 133 133
Lines 8429 8438 +9
==========================================
+ Hits 7655 7666 +11
+ Misses 774 772 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
6623cf0
to
1f6e4ce
Compare
Signed-off-by: jinjiabao.jjb <[email protected]>
Signed-off-by: jinjiabao.jjb <[email protected]>
Signed-off-by: jinjiabao.jjb <[email protected]>
b6c4bd6
to
d063e5d
Compare
No description provided.