-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[API] Support zero_infinity in ctc_loss
#75742
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
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
|
/re-run all-failed |
|
/re-run all-failed |
看起来 CI 似乎是可以忽略的 |
|
/re-run all-failed |
ctc_loss.zero_infinityzero_infinity in ctc_loss
|
/re-run all-failed |
|
@XiaoguangHu01 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #75742 +/- ##
===========================================
Coverage ? 100.00%
===========================================
Files ? 1
Lines ? 4
Branches ? 0
===========================================
Hits ? 4
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
add new parameter also need to add it to test to pass Coverage CI. |
|
/re-run all-failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refactor code for better readability by adjusting line breaks and formatting in test_warpctc_op.py.
Replaced the use of self.seed with a fixed seed value for consistency in tests.
Refactored test to use paddle.enable_static() and removed context manager for static graph.
Removed unused import of contextlib.
|
/re-run all-failed |
Co-authored-by: Nyakku Shigure <[email protected]>
|
/re-run all-failed |
|
我刚刚没注意, |
稍等我看看 |
确认了下,稍等我开个新PR改下, |
PR Category
User Experience
PR Types
New features
Description
为
ctc_loss添加zero_infinity参数