Skip to main content

//clika-runtime/io.clika.runtime/Ops/cumsumInPlace

cumsumInPlace

[common]
fun cumsumInPlace(self: Tensor, dim: Long, dtype: DType = DType.UNDEFINED): Tensor

cumsumInPlace(self: Tensor, dim: Long, dtype: DType = DType.UNDEFINED): the cumsum_ operator. In-place cumsum: rewrites self with its inclusive prefix sums along dim and returns it under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling. Writes through self and returns it, so calls chain.