Skip to main content

dequantize_packed

Function dequantize_packed 

Source
pub fn dequantize_packed(
    dtype: DType,
    packed: &[u8],
    dims: &[usize],
) -> Result<Vec<f32>>
Expand description

Dispatch packed dequant for the dtypes this crate implements.

Unknown / unimplemented dtypes fail closed. Adding a DType variant without updating this match is a compile error.