Skip to main content

ClikaRT::ops::cumsum_

function

cumsum_()

Tensor& cumsum_(
    Tensor& self,
    int64_t dim,
    DataType dtype = DataType::Undefined
)

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.

Throws

Declared in ClikaRT/compute/ops.h, line 4554