Skip to main content

dot_f32_f16_bytes

Function dot_f32_f16_bytes 

Source
pub fn dot_f32_f16_bytes(q: &[f32], row_bytes: &[u8]) -> f32
Expand description

Dot product between an f32 query and an f16 row stored as little-endian bytes. Accumulates in f32. The query stays f32 (it is normalized once per call, no need to drop precision there).