openvino.runtime.opset15.strided_slice#

openvino.runtime.opset15.strided_slice(data: Node | int | float | ndarray, begin: Node | int | float | ndarray, end: Node | int | float | ndarray, strides: Node | int | float | ndarray, begin_mask: List[int], end_mask: List[int], new_axis_mask: List[int] | None = None, shrink_axis_mask: List[int] | None = None, ellipsis_mask: List[int] | None = None, name: str | None = None) Node#

Return a node which dynamically repeats(replicates) the input data tensor.

Parameters:
  • data – The tensor to be sliced

  • begin – 1D tensor with begin indexes for input blob slicing

  • end – 1D tensor with end indexes for input blob slicing

  • strides – The slicing strides

  • begin_mask – A mask applied to the ‘begin’ input indicating which elements shoud be ignored

  • end_mask – A mask applied to the ‘end’ input indicating which elements shoud be ignored

  • new_axis_mask – A mask indicating dimensions where ‘1’ should be inserted

  • shrink_axis_mask – A mask indicating which dimensions should be deleted

  • ellipsis_mask – Indicates positions where missing dimensions should be inserted

Returns:

StridedSlice node