RinhaDeBackend::IvfBuilder::Result
Constructors
Instance methods
bbox_max
bounding box minimum per dim. Computed over real rows only.
bbox_min
break bound
block_count
slot-major. Pad slots carry label 0 (irrelevant since they never enter top-5).
blocks
cell_offsets
2 zero pad — keeps centroid scan on VPMADDWD)
cell_radius
range [off[c]..off[c+1]) with off[c] always even (= 64 B aligned). The range may include a single all-pad alignment block at off[c+1]-1 when the cell's real block count is odd.
centroids
clone
Sourcecopy_with(blocks _blocks = @blocks, labels _labels = @labels, block_count _block_count = @block_count, padded_count _padded_count = @padded_count, centroids _centroids = @centroids, cell_offsets _cell_offsets = @cell_offsets, cell_radius _cell_radius = @cell_radius, max_cell_radius _max_cell_radius = @max_cell_radius, bbox_min _bbox_min = @bbox_min, bbox_max _bbox_max = @bbox_max)
Sourcelabels
interleaved (8 vectors per block)
max_cell_radius
distance from quantized centroid c to any vector in cell c (ceil). Computed over real rows only.
padded_count