MCPcopy 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_searchMethod · 0.45
_prepare_for_searchMethod · 0.45
_prepare_for_searchMethod · 0.45
_prepare_for_searchMethod · 0.45
_prepare_for_searchMethod · 0.45
set_topkMethod · 0.45
reset_resultsMethod · 0.45
reset_resultsMethod · 0.45
search_column_filterMethod · 0.45
search_row_nofilterMethod · 0.45
search_row_filterMethod · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36