Skip to content

[Relay] add a dimension check to reject invalid input#14925

Merged
echuraev merged 4 commits intoapache:mainfrom
jikechao:fix_zero_shape
May 24, 2023
Merged

[Relay] add a dimension check to reject invalid input#14925
echuraev merged 4 commits intoapache:mainfrom
jikechao:fix_zero_shape

Conversation

@jikechao
Copy link
Copy Markdown
Member

@jikechao jikechao commented May 23, 2023

This pr adds a dimension check to reject the non-batch dimensions <=0.

cc @echuraev @Hzfengsy

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented May 23, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@jikechao jikechao marked this pull request as draft May 23, 2023 08:34
@jikechao jikechao marked this pull request as ready for review May 23, 2023 08:45
@github-actions github-actions Bot requested review from Hzfengsy and echuraev May 23, 2023 08:46
@echuraev echuraev merged commit d776bcc into apache:main May 24, 2023
mei-ye pushed a commit to mei-ye/tvm that referenced this pull request Jun 1, 2023
* add a dimension check

* Update test_forward.py

* Update pytorch.py

* Update pytorch.py
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