Skip to content

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

Merged
tqchen merged 13 commits into
apache:masterfrom
masahi:onnx-slice-strides
Sep 13, 2020
Merged

[ONNX] Update Slice op conversion to take strides into account, clean up tests#6467
tqchen merged 13 commits into
apache:masterfrom
masahi:onnx-slice-strides

Conversation

@masahi

@masahi masahi commented Sep 13, 2020

Copy link
Copy Markdown
Member

Fix #6441

Also cleaned up test code in onnx a bit.

please review @siju-samuel @mbrookhart @jwfromm

@mbrookhart mbrookhart left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread tests/python/frontend/onnx/test_forward.py Outdated
@masahi

masahi commented Sep 13, 2020

Copy link
Copy Markdown
Member Author

@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

tqchen commented Sep 13, 2020

Copy link
Copy Markdown
Member

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