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

[Cherry-pick]Refactor param_guard logic of @to_static (#32867) (#32859) #32985

Merged
merged 2 commits into from
May 20, 2021

Conversation

Aurelius84
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

[Cherry-pick]Refactor param_guard logic of @to_static (#32867) (#32859)

)

* Add param_guard in ParameterList to support @to_static

* Refactor param_guard of @to_static

* fix unittest failed

* add more unittest
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Aurelius84 Aurelius84 requested review from Xreki, zhhsplendid, liym27 and lanxianghit and removed request for Xreki May 19, 2021 06:10
Copy link
Contributor

@liym27 liym27 left a comment

Choose a reason for hiding this comment

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

LGTM

@lanxianghit lanxianghit merged commit 26c2911 into PaddlePaddle:release/2.1 May 20, 2021
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.

4 participants