Skip to content

Conversation

@xunyoyo
Copy link
Contributor

@xunyoyo xunyoyo commented Jan 28, 2026

PR Category

User Experience

PR Types

New features

Description

  • Add input alias for paddle.bernoulli to align with PyTorch naming.
  • Add out parameter support in dygraph and static modes.
  • Add API compatibility tests for bernoulli alias and out usage.

@paddle-bot
Copy link

paddle-bot bot commented Jan 28, 2026

你的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.

@paddle-bot paddle-bot bot added the contributor External developers label Jan 28, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@d979b30). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #77567   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?        10           
  Branches           ?         0           
===========================================
  Hits               ?        10           
  Misses             ?         0           
  Partials           ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xunyoyo
Copy link
Contributor Author

xunyoyo commented Jan 29, 2026

@zhwesky2010

@xunyoyo
Copy link
Contributor Author

xunyoyo commented Jan 29, 2026

/re-run all-failed


if in_dynamic_or_pir_mode():
return _C_ops.bernoulli(x)
out_tensor = _C_ops.bernoulli(x)
Copy link
Contributor

Choose a reason for hiding this comment

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

_C_ops.bernoulli不支持out?API执行的底层逻辑看一看

@YqGe585
Copy link
Member

YqGe585 commented Jan 30, 2026

IXUCA rerun仍然失败的,辛苦rebase到develop后重新触发CI

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants