openvino.runtime.opset6.cum_sum

openvino.runtime.opset6.cum_sum(arg: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axis: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], exclusive: bool = False, reverse: bool = False, name: Optional[str] = None) openvino._pyopenvino.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