openvino.runtime.opset4.cum_sum¶
-
openvino.runtime.opset4.
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