pub fn pack_quantized(qv: &QuantizedVector) -> Vec<u8> ⓘExpand description
Pack a QuantizedVector into bytes for SQLite storage.
Format: [scale: f32 LE][zero_point: i8][data: i8 × dims]
Total bytes: 4 + 1 + dims
pub fn pack_quantized(qv: &QuantizedVector) -> Vec<u8> ⓘPack a QuantizedVector into bytes for SQLite storage.
Format: [scale: f32 LE][zero_point: i8][data: i8 × dims]
Total bytes: 4 + 1 + dims