Skip to main content

mlx_nan_to_num

Function mlx_nan_to_num 

Source
pub unsafe extern "C" fn mlx_nan_to_num(
    res: *mut mlx_array,
    a: mlx_array,
    nan: f32,
    posinf: mlx_optional_float,
    neginf: mlx_optional_float,
    s: mlx_stream,
) -> c_int