mlx_cumsum function
- @Native<Int Function(Pointer<mlx_array>, mlx_array, Int, Bool, Bool, mlx_stream)>(ffi.Pointer<mlx_array>, mlx_array, ffi.Int, ffi.Bool, ffi.Bool, mlx_stream)>()
int
mlx_cumsum(
- Pointer<mlx_array> res,
- mlx_array a,
- int axis,
- bool reverse,
- bool inclusive,
- mlx_stream s,
)
Implementation
@ffi.Native<
ffi.Int Function(
ffi.Pointer<mlx_array>,
mlx_array,
ffi.Int,
ffi.Bool,
ffi.Bool,
mlx_stream,
)
>()
external int mlx_cumsum(
ffi.Pointer<mlx_array> res,
mlx_array a,
int axis,
bool reverse,
bool inclusive,
mlx_stream s,
);