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] Fix float type from fp64 to fp32 for area and sdf #707

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

HydrogenSulfate
Copy link
Collaborator

PR types

Bug fixes

PR changes

APIs

Describe

  1. 根据 add type promotion logic for eager between tensor and tensor Paddle#59518,修改 sdf 和 area 的数据类型为 paddle 默认类型,否则会触发大量的类型提升至 float64 的警告

Copy link

paddle-bot bot commented Dec 19, 2023

Thanks for your contribution!

@zhiminzhang0830 zhiminzhang0830 merged commit 9e09ca2 into PaddlePaddle:develop Dec 19, 2023
3 checks passed
@HydrogenSulfate HydrogenSulfate deleted the fix_speed branch December 23, 2023 16:34
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
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.

2 participants