MCPcopy Create free account
hub / github.com/dblalock/bolt / lut_l2

Method lut_l2

cpp/src/quantize/bolt.cpp:240–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238// return lut_out;
239}
240void BoltEncoder::lut_l2(const float* q, int len) {
241 lut<Reductions::DistL2>(q, len, _nbytes, _centroids,
242 _offsets, _scaleby, _lut);
243}
244void BoltEncoder::lut_dot(const float* q, int len) {
245 lut<Reductions::DotProd>(q, len, _nbytes, _centroids,
246 _offsets, _scaleby, _lut);

Callers 1

test_bolt.cppFile · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected