Skip to main content

dot_f32_bytes

Function dot_f32_bytes 

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

Dot product between an f32 query and an f32 row stored as little-endian bytes (the way embeddings live in mmap).