ngraph.opset7.cum_sum¶
-
ngraph.opset7.
cum_sum
(arg: Union[_pyngraph.Node, int, float, numpy.ndarray], axis: Union[_pyngraph.Node, int, float, numpy.ndarray], exclusive: bool = False, reverse: bool = False, name: Optional[str] = None) → _pyngraph.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