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

[nnvm] fix nnvm compiler build module error #3378

Merged
merged 1 commit into from
Jun 17, 2019
Merged

[nnvm] fix nnvm compiler build module error #3378

merged 1 commit into from
Jun 17, 2019

Conversation

Howave
Copy link
Contributor

@Howave Howave commented Jun 16, 2019

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 Reviewers.

fix error as bellow:
nnvm/python/nnvm/compiler/build_module.py", line 153, in _update_shape_dtype
"%s: dtype not expected %s vs %s" % (k, dtype, v.dtype))
ValueError: 6: dtype not expected float32 vs int64

I have model imported from onnx and one of the shape in the params is None, the params will be pruned later.
(64, 3, 3, 3)
(64,)
(64,)
(64,)
(64,)
()
...

@tqchen

@tqchen tqchen merged commit a748f5f into apache:master Jun 17, 2019
@tqchen
Copy link
Member

tqchen commented Jun 17, 2019

Thanks @Howave for the contribution. This PR is now merged. Please tag more reviewers next time:)

@Howave Howave deleted the fix_nnvm branch June 18, 2019 02:37
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
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.

2 participants