Skip to main content

mlx_array_data_bfloat16

Function mlx_array_data_bfloat16 

Source
pub unsafe extern "C" fn mlx_array_data_bfloat16(
    arr: mlx_array,
) -> *const bfloat16_t
Expand description

Returns a pointer to the array data, cast to bfloat16_t*. Array must be evaluated, otherwise returns NULL.