openvino.runtime.opset13.slice¶
- openvino.runtime.opset13.slice(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], start: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], stop: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], step: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axes: Optional[Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]] = None, name: Optional[str] = None) openvino._pyopenvino.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.