Skip to content

[Relay][bugfix][error reporting] BiasAddRel does not check for a negative index being out of bounds#7554

Merged
tqchen merged 2 commits intoapache:mainfrom
slyubomirsky:bias-add-range
Mar 3, 2021
Merged

[Relay][bugfix][error reporting] BiasAddRel does not check for a negative index being out of bounds#7554
tqchen merged 2 commits intoapache:mainfrom
slyubomirsky:bias-add-range

Conversation

@slyubomirsky
Copy link
Copy Markdown
Contributor

A follow-up to #7467 on bias_add, I realized the type relation wasn't bounds checking on the negative side. It's not a serious error, but it's good to have an informative error message for such cases. (I happened to be looking at that type relation because I was trying to formalize it in an ILP solver 😛)

Please review @tkonolige @junrushao1994

Copy link
Copy Markdown
Contributor

@tkonolige tkonolige left a comment

Choose a reason for hiding this comment

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

Thank you @slyubomirsky

@tqchen tqchen merged commit 1d5f334 into apache:main Mar 3, 2021
@tqchen
Copy link
Copy Markdown
Member

tqchen commented Mar 3, 2021

Thanks you @slyubomirsky @tkonolige !

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
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.

3 participants