- ngraph.opset6.cumsum(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.
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
New node performing the operation