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][PaddlePaddle] Fix bug for paddle frontend #9236

Merged
merged 34 commits into from
Oct 9, 2021
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5b39c79
Merge pull request #2 from apache/main
jiangjiajun Aug 3, 2021
74cc942
Merge pull request #8 from apache/main
jiangjiajun Aug 13, 2021
e0420bd
Merge branch 'apache:main' into main
jiangjiajun Sep 23, 2021
f181b0a
Merge branch 'apache:main' into main
jiangjiajun Sep 24, 2021
800b187
Merge branch 'apache:main' into main
jiangjiajun Sep 26, 2021
87c6d3d
add part of operators
jiangjiajun Sep 26, 2021
39b96fc
remove part of operators
jiangjiajun Sep 26, 2021
50e3c41
add lookup
jiangjiajun Sep 26, 2021
555406e
add test
jiangjiajun Sep 26, 2021
75956db
Update paddlepaddle.py
jiangjiajun Sep 27, 2021
a3aa170
modify error message for SAME padding
jiangjiajun Sep 27, 2021
326383a
Remove some function and old version operator
jiangjiajun Sep 28, 2021
6e275c2
Remove some function and old version operator
jiangjiajun Sep 28, 2021
f8e93cb
Remove some function and old version operator
jiangjiajun Sep 28, 2021
cd4ef59
Remove some function and old version operator
jiangjiajun Sep 28, 2021
56f4ccb
Merge pull request #55 from jiangjiajun/pr001_1
jiangjiajun Sep 28, 2021
67e9816
add dot test
jiangjiajun Sep 28, 2021
98fb38a
modify doc
jiangjiajun Sep 28, 2021
201be45
remove unreviewed code
jiangjiajun Sep 29, 2021
8d865b7
Update paddlepaddle.py
jiangjiajun Sep 29, 2021
96afd3d
Update test_forward.py
jiangjiajun Sep 29, 2021
ef7a003
Update paddlepaddle.py
jiangjiajun Sep 29, 2021
43ae5ab
Update paddlepaddle.py
jiangjiajun Sep 29, 2021
8d0af49
Update test_forward.py
jiangjiajun Sep 29, 2021
509e023
Update test_forward.py
jiangjiajun Sep 29, 2021
4139fb3
Merge pull request #57 from jiangjiajun/unreviewed
jiangjiajun Sep 29, 2021
2a5e30d
Merge branch 'apache:main' into pr001
jiangjiajun Oct 4, 2021
3c34b5a
add more cases for tests
jiangjiajun Oct 4, 2021
e600036
add more cases for tests
jiangjiajun Oct 4, 2021
4887e96
Merge pull request #60 from jiangjiajun/add-more-cases
jiangjiajun Oct 4, 2021
ef4c84b
remove annotation
jiangjiajun Oct 4, 2021
5d1aa7c
reduce test case sizes
jiangjiajun Oct 5, 2021
69ddea7
Merge branch 'apache:main' into pr001
jiangjiajun Oct 8, 2021
224e3cd
fix bug for paddlepaddle frontend
jiangjiajun Oct 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/tvm/relay/frontend/paddlepaddle.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,9 @@ def convert_feed(g, op, block):

if block is not None:
ipt_name = op.output("Out")[0]
dtype = op.attr("dtype")
dtype = _convert_dtype_value(dtype)
ipt_shape = block.var(ipt_name).shape
ipt_dtype = block.var(ipt_name).dtype
ipt_dtype = str(ipt_dtype).strip().split(".")[1]
else:
ipt_shape = op.shape
ipt_dtype = str(op.dtype).strip().split(".")[1]
Expand Down