Skip to main content

mlx_array_new_data_managed

Function mlx_array_new_data_managed 

Source
pub unsafe extern "C" fn mlx_array_new_data_managed(
    data: *mut c_void,
    shape: *const c_int,
    dim: c_int,
    dtype: mlx_dtype,
    dtor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
) -> mlx_array