ClikaRT::ops::cumprod
function
cumprod()
Tensor cumprod(
Tensor input,
int64_t dim,
DataType dtype = DataType::Undefined
)
Cumulative product along dim (inclusive scan).
Parameters
input: the input tensor.dim: the axis to scan along.dtype: output dtype;Undefinedkeepsinput's dtype.
Returns: the scanned tensor, same shape as input.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) whendimis out of range.
Declared in ClikaRT/compute/ops.h, line 4546