Skip to content

Conversation

@zhangting2020
Copy link
Contributor

@zhangting2020 zhangting2020 commented Jan 18, 2021

PR types

Bug fixes

PR changes

APIs

Describe

avoid calling cast twice

动态图模式下:由于未return,每一次cast API的使用,会导致cast op被调用2次。

@paddle-bot-old
Copy link

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

@Xreki Xreki requested a review from zhiqiu January 18, 2021 07:15
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

@zhangting2020 zhangting2020 merged commit 34bf8df into PaddlePaddle:develop Jan 18, 2021
lanxianghit pushed a commit that referenced this pull request Jan 18, 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