Skip to main content

dequantize

Function dequantize 

Source
pub fn dequantize(w: &Quantized, dtype: impl Into<Option<DType>>) -> Array
Expand description

The weights of quantize restored, in dtype (default: the scales’ dtype for affine, bfloat16 for the floating-point modes); MLX’s dequantize. See also Quantized::dequantize.