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

fix print for place.device #64613

Merged
merged 1 commit into from
May 28, 2024

Conversation

houj04
Copy link
Contributor

@houj04 houj04 commented May 27, 2024

PR Category

Others

PR Types

Bug fixes

Description

在需要打印place.device的时候,要先转换类型到int才可以打印出正确的数值。否则就会按照ASCII打印出来控制字符。在该文件中若干处打印都是对的,只有这两处打印缺少了cast。
本PR修复了此问题。

Copy link

paddle-bot bot commented May 27, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@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 0d1b279 into PaddlePaddle:develop May 28, 2024
32 checks passed
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