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

Add leaf enforce check for set_value #32972

Merged

Conversation

chenwhql
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

Add leaf enforce check for set_value to polish error message, the leaf Tensor can't use inplace strategy.

original error message:

image

after changing:

image

@paddle-bot-old
Copy link

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

@chenwhql chenwhql requested review from liym27 and pangyoki May 18, 2021 12:56
Copy link
Contributor

@pangyoki pangyoki left a comment

Choose a reason for hiding this comment

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

LGTM

@chenwhql chenwhql merged commit af89a94 into PaddlePaddle:develop May 19, 2021
chenwhql added a commit to chenwhql/Paddle that referenced this pull request May 19, 2021
lanxianghit pushed a commit that referenced this pull request May 19, 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.

3 participants