Skip to main content

dequantize_ternary

Function dequantize_ternary 

Source
pub fn dequantize_ternary(scale: f32, packed: &[u8], out: &mut [f32])
Expand description

Dequantize packed ternary → f32 weights (scale · trit) into out. Zero-heap: digits are streamed straight from the bytes (no intermediate trit allocation). Writes out.len() values.