Skip to main content

//clika-runtime/io.clika.runtime/Ops/cumprodInPlace

cumprodInPlace

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

cumprodInPlace(self: Tensor, dim: Long, dtype: DType = DType.UNDEFINED): the cumprod_ operator. In-place cumprod: rewrites self with its inclusive prefix products 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.