[Dy2stat] Add Resnet Test for V2 APIs#27459
Merged
liym27 merged 23 commits intoPaddlePaddle:developfrom Sep 30, 2020
Merged
Conversation
… refine_api2, test=develop
… refine_api2, test=develop
|
Thanks for your contribution! |
… refine_api2 test=develop
…nto refine_api_test_resnet, test=develop
… refine_api_test_resnet, test=develop
Aurelius84
previously approved these changes
Sep 29, 2020
Contributor
Aurelius84
left a comment
There was a problem hiding this comment.
LGTM. I just have marked some unsupported cases to help locate the code.
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_v2.py
Outdated
Show resolved
Hide resolved
liym27
previously approved these changes
Sep 29, 2020
Contributor
liym27
left a comment
There was a problem hiding this comment.
LGTM
All APIs in fluid.XX module need to be replaced
Aurelius84
approved these changes
Sep 29, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Describe
Add Resnet Test for V2 APIs.
We used tool from https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-beta/guides/migration_cn.html#paddle1-xpaddle2-0beta to do v1.x to v2 transformation.
This PR pulled changes from #27430, please DO NOT merge before #27430 is merged