openvino.runtime.opset8.cum_sum#

openvino.runtime.opset8.cum_sum(arg: Node | int | float | ndarray, axis: Node | int | float | ndarray, exclusive: bool = False, reverse: bool = False, name: str | None = None) Node#

Construct a cumulative summation operation.

Parameters:
  • arg – The tensor to be summed.

  • axis – zero dimension tensor specifying axis position along which sum will be performed.

  • exclusive – if set to true, the top element is not included

  • reverse – if set to true, will perform the sums in reverse direction

Returns:

New node performing the operation