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

[Relay] Fix the potential index overflow #3751

Merged

Conversation

cchung100m
Copy link
Contributor

Hi @tqchen @YPBlib

Following the issue 3652, I add the additional check to make sure that the cond_shape would only be checked when the index i small than cond_shape and x_shape both in order to avoid a case when cond_shape.size() == 1 but x_shape.size is not.

@cchung100m cchung100m changed the title Fix the potential index overflow [Relay] Fix the potential index overflow Aug 11, 2019
@tqchen tqchen merged commit 9161efb into apache:master Aug 12, 2019
@tqchen
Copy link
Member

tqchen commented Aug 12, 2019

Thanks @cchung100m

wweic pushed a commit to neo-ai/tvm that referenced this pull request Aug 16, 2019
@cchung100m cchung100m deleted the transform.cc_potential_index_overflow branch August 20, 2019 13:32
anijain2305 pushed a commit to anijain2305/tvm that referenced this pull request Aug 22, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 6, 2019
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.

2 participants