Skip to content

Conversation

@HydrogenSulfate
Copy link
Contributor

PR Category

User Experience

PR Types

New features

Description

Pcard-75624

  1. paddle.randn支持device,requires_grad,out参数,行为对齐pytorch

@paddle-bot
Copy link

paddle-bot bot commented Aug 23, 2025

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

@HydrogenSulfate HydrogenSulfate changed the title [API Compatiblity] Refine randn [API Compatiblity] Refine paddle.randn Aug 23, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@e7530ff). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/tensor/random.py 80.00% 2 Missing ⚠️

❌ Your patch status has failed because the patch coverage (80.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74849   +/-   ##
==========================================
  Coverage           ?   80.00%           
==========================================
  Files              ?        1           
  Lines              ?       10           
  Branches           ?        0           
==========================================
  Hits               ?        8           
  Misses             ?        2           
  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.

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow 🐾

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@HydrogenSulfate HydrogenSulfate merged commit bdde84e into PaddlePaddle:develop Aug 25, 2025
113 of 119 checks passed
@HydrogenSulfate HydrogenSulfate deleted the refine_randn_v2 branch August 25, 2025 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants