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