Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IE][VPU][nGraph]: Fixes StridedSlice DTS #1328

Merged
merged 1 commit into from
Jul 15, 2020
Merged

[IE][VPU][nGraph]: Fixes StridedSlice DTS #1328

merged 1 commit into from
Jul 15, 2020

Conversation

ggladilov
Copy link
Contributor

Task

35007

Description

In case of Begin/End/Stride inputs of StridedSlice have rank less than input data rank - remaining dimensions must be kept unchanged.

Previous, implementation had UB in such cases - out of bound vector element access. So, StridedSlice with configuration: data shape [X, Y], begin shape [B], end shape [E] and stride shape [S] will access memory outside of begin, end and strides bounds.

In case of Begin/End/Stride inputs of StridedSlice have rank less
than input data rank - remaining dimensions must be kept unchanged

Previous, implementation had UB in such cases - out of bound
vector element access

Signed-off-by: Gladilov, Gleb <[email protected]>
@ggladilov ggladilov requested a review from a team as a code owner July 15, 2020 09:43
@ggladilov ggladilov added this to the 2021.1 milestone Jul 15, 2020
@GlebKazantaev GlebKazantaev removed their request for review July 15, 2020 16:17
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Maxim-Doronin Maxim-Doronin merged commit 2803498 into openvinotoolkit:master Jul 15, 2020
@ggladilov ggladilov deleted the vpu/gg/fixes-strided-slice-dts branch July 15, 2020 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants