Skip to main content

cache_row

Function cache_row 

Source
pub fn cache_row(fp: FpUnit, x: &[f32]) -> (u16, Vec<i8>)
Expand description

A cache row stored as int8 codes under one f16 scale amax/127 (absmax): the scale’s bits and the codes under its reciprocal (int8_codes), all zero when the scale rounds to zero.