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

[ONNX] Update Slice op conversion to take strides into account, clean up tests #6467

Merged
merged 13 commits into from Sep 13, 2020

Conversation

masahi
Copy link
Member

@masahi masahi commented Sep 13, 2020

Fix #6441

Also cleaned up test code in onnx a bit.

please review @siju-samuel @mbrookhart @jwfromm

Copy link
Contributor

@mbrookhart mbrookhart left a comment

Choose a reason for hiding this comment

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

I noticed this when I dynamic-ified strided slice in #6351 on Friday. This will conflict with that slightly, but I'm happy to deal with the conflicts in favor of the test improvements :)

I don't love the use of pytorch in the onnx tests, I'd really prefer fewer cross-framework testing dependencies.

tests/python/frontend/onnx/test_forward.py Outdated Show resolved Hide resolved
@masahi
Copy link
Member Author

masahi commented Sep 13, 2020

@mbrookhart I realized, you would get some conflicts in test_forward.py too, due to your change of get_output_tvm to get_output_tvm_with_vm in some tests. I've checked that the change is minimal. I hope it's not too bad ...

@tqchen tqchen merged commit 270e742 into apache:master Sep 13, 2020
@tqchen
Copy link
Member

tqchen commented Sep 13, 2020

Thanks @masahi @mbrookhart !

kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 17, 2020
… up tests (apache#6467)



Co-authored-by: masa <masa@pop-os.localdomain>
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 18, 2020
… up tests (apache#6467)



Co-authored-by: masa <masa@pop-os.localdomain>
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 18, 2020
… up tests (apache#6467)



Co-authored-by: masa <masa@pop-os.localdomain>
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.

ONNX strided slice ignoring stride argument
3 participants