Skip to content

[API Compatibility] enhance the tests for loss apis -part#874

Open
Manfredss wants to merge 3 commits intoPaddlePaddle:masterfrom
Manfredss:ApiEnhance_loss
Open

[API Compatibility] enhance the tests for loss apis -part#874
Manfredss wants to merge 3 commits intoPaddlePaddle:masterfrom
Manfredss:ApiEnhance_loss

Conversation

@Manfredss
Copy link
Copy Markdown
Contributor

PR Docs

enhance the tests for loss apis

PR APIs

tests/test_nn_GaussianNLLLoss.py
tests/test_nn_functional_gaussian_nll_loss.py
tests/test_nn_functional_triplet_margin_with_distance_loss.py

related PR:

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Apr 27, 2026

Thanks for your contribution!

@paddle-bot paddle-bot Bot added the contributor External developers label Apr 27, 2026
Copy link
Copy Markdown
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

测试应该会触发size_average、reduce的问题,本地测试看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants