Skip to main content

score_int8_section

Function score_int8_section 

Source
pub fn score_int8_section(
    q: &[f32],
    view: &Int8EmbeddingsView<'_>,
    out: &mut [f32],
)
Expand description

Score every row of an int8 embeddings section against q. out[i] is the cosine score; the runtime sorts these.