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

[FRONTEND][ONNX]Gather operator added which is required for seq2seq models #1513

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

siju-samuel
Copy link
Member

Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from others in the community.

Copy link
Contributor

@srkreddy1238 srkreddy1238 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@srkreddy1238 srkreddy1238 left a comment

Choose a reason for hiding this comment

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

LGTM.

@tqchen tqchen merged commit 961ec04 into apache:master Aug 1, 2018
@iwasaki-kenta
Copy link

Tried test out a simple RNN *.onnx model exported from PyTorch which makes use of Gather() and noticed in the OnnxOpConverter that the attr dictionary is empty; causing errors.

Happy to provide the *.onnx model if requested, though for now here's a screenshot of relevant parts of the model containing the arguments passed to the Gather() opereator.

image

@srkreddy1238
Copy link
Contributor

I think ONNX supports Gather in 2 variations.
This error is second variation where the indices is a Param already and axis=0 (default).

I have created #1536 to followup and fix it.

tqchen pushed a commit to tqchen/tvm that referenced this pull request Aug 4, 2018
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants