Skip to main content

mlx_dequantize

Function mlx_dequantize 

Source
pub unsafe extern "C" fn mlx_dequantize(
    res: *mut mlx_array,
    w: mlx_array,
    scales: mlx_array,
    biases: mlx_array,
    group_size: mlx_optional_int,
    bits: mlx_optional_int,
    mode: *const c_char,
    global_scale: mlx_array,
    dtype: mlx_optional_dtype,
    s: mlx_stream,
) -> c_int