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] Check return type of FunctionalLoss #854

Merged

Conversation

HydrogenSulfate
Copy link
Collaborator

PR types

Function optimization

PR changes

APIs

Describe

  1. FunctionalLoss所包装的函数的返回值进行检查,确保其类型为张量。

Copy link

paddle-bot bot commented Apr 17, 2024

Thanks for your contribution!

@zhiminzhang0830 zhiminzhang0830 merged commit 8b9601d into PaddlePaddle:develop Apr 18, 2024
3 of 4 checks passed
@HydrogenSulfate HydrogenSulfate deleted the check_loss_return_type branch April 18, 2024 11:17
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