openvino.runtime.opset12.roll¶
- openvino.runtime.opset12.roll(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], shift: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axes: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]) openvino._pyopenvino.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.