ngraph.opset7.roll

ngraph.opset7.roll(data: Union[_pyngraph.Node, int, float, numpy.ndarray], shift: Union[_pyngraph.Node, int, float, numpy.ndarray], axes: Union[_pyngraph.Node, int, float, numpy.ndarray])_pyngraph.Node

Return a node which performs Roll operation.

Parameters
  • data – The node with data tensor.

  • shift – The node with the tensor with numbers of places by which elements are shifted.

  • axes – The node with the tensor with axes along which elements are shifted.

Returns

The new node performing a Roll operation on the input tensor.