Skip to main content

matrix_bytes

Function matrix_bytes 

Source
pub fn matrix_bytes(rows: usize, cols: usize, ty: GgmlType) -> usize
Expand description

The bytes a matrix kept as rows takes of its pool: a Q8_0 matrix’s levels and its half scales, each an array; any other format’s blocks as the checkpoint lays them out and the 32 bytes a staged read runs past them.