openvino.runtime.opset13.slice#
- openvino.runtime.opset13.slice(data: Node | int | float | ndarray, start: Node | int | float | ndarray, stop: Node | int | float | ndarray, step: Node | int | float | ndarray, axes: Node | int | float | ndarray | None = None, name: str | None = None) Node #
Return a node which generates Slice operation.
- Parameters:
data – The node providing input data.
start – The node providing start indices (inclusively).
stop – The node providing stop indices (exclusively).
step – The node providing step values.
axes – The optional node providing axes to slice, default [0, 1, …, len(start)-1].
name – The optional name for the created output node.
- Returns:
The new node performing Slice operation.