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

shape api should not backward #37340

Merged
merged 4 commits into from
Nov 22, 2021
Merged

shape api should not backward #37340

merged 4 commits into from
Nov 22, 2021

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Nov 18, 2021

PR types

Others

PR changes

Others

Describe

shape算子不应该有反向梯度,需显式设置stop_gradient=True,否则可能有未知问题

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 18, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old
Copy link

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

@yt605155624
Copy link
Contributor

1461e9822374b0a5ba9ceb2e6b5e84e0
问题模型测试通过
简单测试测试通过

zyfncg
zyfncg previously approved these changes Nov 19, 2021
Copy link
Contributor

@zyfncg zyfncg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dingjiaweiww dingjiaweiww left a comment

Choose a reason for hiding this comment

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

LGTM

@jiweibo jiweibo merged commit 2195747 into PaddlePaddle:develop Nov 22, 2021
@jiweibo jiweibo deleted the shape branch November 22, 2021 08:56
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