mlx_array_item_float32 function
Access the value of a scalar array.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Float>, mlx_array)>()
external int mlx_array_item_float32(ffi.Pointer<ffi.Float> res, mlx_array arr);
Access the value of a scalar array.
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Float>, mlx_array)>()
external int mlx_array_item_float32(ffi.Pointer<ffi.Float> res, mlx_array arr);