MCPcopy Create free account
hub / github.com/alibaba/zvec / SetUp

Method SetUp

tests/core/algorithm/flat/flat_builder_test.cc:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56IndexMeta FlatBuilderTest::meta_;
57
58void FlatBuilderTest::SetUp() {
59 meta_.set_meta(IndexMeta::DataType::DT_FP32, DIMENSION);
60 meta_.set_metric("SquaredEuclidean", 0, Params());
61 meta_.set_major_order(IndexMeta::MO_COLUMN);
62}
63
64//! self-check column-major and row-major search.
65void FlatBuilderTest::TearDown() {

Callers

nothing calls this directly

Calls 4

ParamsFunction · 0.85
set_major_orderMethod · 0.80
set_metaMethod · 0.45
set_metricMethod · 0.45

Tested by

no test coverage detected