Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ set_threshold
Method
set_threshold
src/ailego/algorithm/binary_quantizer.h:48–50 ·
view source on GitHub ↗
Set quantization threshold
Source
from the content-addressed store, hash-verified
46
47
//! Set quantization threshold
48
void set_threshold(float threshold) {
49
threshold_ = threshold;
50
}
51
52
//! Get quantization threshold
53
float threshold(void) const {
Callers
15
_prepare_for_search
Method · 0.45
_prepare_for_search
Method · 0.45
_prepare_for_search
Method · 0.45
_prepare_for_search
Method · 0.45
_prepare_for_search
Method · 0.45
set_topk
Method · 0.45
reset_results
Method · 0.45
reset_results
Method · 0.45
search_column_nofilter
Method · 0.45
search_column_filter
Method · 0.45
search_row_nofilter
Method · 0.45
search_row_filter
Method · 0.45
Calls
no outgoing calls
Tested by
4
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36