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

fixed imperative module in doc example code #26149

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

pangyoki
Copy link
Contributor

@pangyoki pangyoki commented Aug 11, 2020

PR types

Others

PR changes

APIs

Describe

After Paddle 2.0 directory migration(PR #25898). Many APIs' path changed, and some APIs' name changed. e.g.

paddle.imperative.to_variable -> paddle.to_variable
paddle.enable_imperative -> paddle.disable_static
paddle.disable_imperative -> paddle.enable_static

Most codes of these APIs have been processed, but there are some implementations of Doc Example Code have not been processed. This PR is used to process the changes in Doc Example Code.

@paddle-bot-old
Copy link

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

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiqiu zhiqiu merged commit 13b80d9 into PaddlePaddle:develop Aug 12, 2020
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.

None yet

2 participants