mlx_array_set_float32 function
Set array to a float32 scalar.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_array>, ffi.Float)>()
external int mlx_array_set_float32(ffi.Pointer<mlx_array> arr, double val);
Set array to a float32 scalar.
@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_array>, ffi.Float)>()
external int mlx_array_set_float32(ffi.Pointer<mlx_array> arr, double val);