openvino.runtime.opset15.roll#

openvino.runtime.opset15.roll(data: Node | int | float | ndarray, shift: Node | int | float | ndarray, axes: Node | int | float | ndarray, name: str | None = None) 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.

  • name – Optional output node name.

Returns:

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