glow icon indicating copy to clipboard operation
glow copied to clipboard

Add support for stride in Slice operator

Open mciprian13 opened this issue 3 years ago • 2 comments

Add stride parameter in the Slice operator. The stride parameter should be allowed to be both positive and negative (slicing from the end). Both ONNX and TensorFlowLite formats define Slice operators using this parameter.

mciprian13 avatar Jun 05 '21 10:06 mciprian13

@mciprian13 I could not find stride parameter in the Slice operator of ONNX. Do you mean by that to support the negative index in starts and ends?

Lewuathe avatar Jul 23 '21 12:07 Lewuathe

@Lewuathe It's the steps parameter from the the Slice operator of ONNX (Stride/step means the same thing).

mciprian13 avatar Jul 23 '21 12:07 mciprian13