Skip to main content

Module bps

Module bps 

Source
Expand description

BPS (Block Projection Sketch) builder and utilities.

BPS divides vectors into blocks and computes short projections per block, stored in SoA layout for vertical SIMD scanning.

Structsยง

BpsBuilder
Builder for BPS sketches
BpsQParam
BPS quantization parameters per slot (min, inv_range)
BpsScanner
BPS scanner for streaming candidate generation