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

[Cleanup] Replace to_variable with to_tensor #1015

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

Tongkaio
Copy link
Member

to_variable 已移除: PaddlePaddle/Paddle#61952
少数动转静场景需要使用 paddle.assign,其余场景都直接替换成 paddle.to_tensor 即可。

Copy link

paddle-bot bot commented Mar 14, 2024

Thanks for your contribution!

@gongweibao gongweibao closed this Mar 14, 2024
@gongweibao gongweibao reopened this Mar 14, 2024
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow 🐾

Copy link
Collaborator

@gongweibao gongweibao left a comment

Choose a reason for hiding this comment

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

LGTM

@gongweibao gongweibao merged commit 1450939 into PaddlePaddle:develop Mar 14, 2024
6 checks passed
@Tongkaio Tongkaio deleted the clean_up branch December 6, 2024 11:59
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