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] add a dimension check to reject invalid input #14925

Merged
merged 4 commits into from
May 24, 2023

Conversation

jikechao
Copy link
Contributor

@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
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