//clika-runtime/io.clika.runtime/Ops/cumsum
cumsum
[common]
fun cumsum(input: Tensor, dim: Long, dtype: DType = DType.UNDEFINED): Tensor
cumsum(input: Tensor, dim: Long, dtype: DType = DType.UNDEFINED): the cumsum operator. Cumulative sum along dim (inclusive scan). Output mirrors input's shape; dtype widens the accumulation/output when set (Undefined keeps input's dtype).