Skip to content

Conversation

@Deleter-D
Copy link
Contributor

PR Category

User Experience

PR Types

New features

Description

Aligning with torch.[dtype]Tensor and torch.as_tensor API capabilities.

pcard-71500

@paddle-bot
Copy link

paddle-bot bot commented Aug 18, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Aug 18, 2025
@yuanlehome yuanlehome self-assigned this Aug 18, 2025
Copy link
Contributor

@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.

LGTM

@zhwesky2010
Copy link
Contributor

@Deleter-D 你这个没有加单测

@zhwesky2010
Copy link
Contributor

可以先合入这个,然后 @zeroRains 在后面PR里 #74619 一起做补充工作:加单测、to_tenosr更新成tensor、加warning

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

@codecov-commenter
Copy link

Codecov Report

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

Files with missing lines Patch % Lines
python/paddle/tensor/creation.py 63.63% 8 Missing ⚠️

❌ Your patch status has failed because the patch coverage (63.63%) 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   #74694   +/-   ##
==========================================
  Coverage           ?   63.63%           
==========================================
  Files              ?        1           
  Lines              ?       22           
  Branches           ?        0           
==========================================
  Hits               ?       14           
  Misses             ?        8           
  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.

@zhwesky2010 zhwesky2010 merged commit 5e376d8 into PaddlePaddle:develop Aug 18, 2025
90 of 93 checks passed
Luckycheng222 pushed a commit to Luckycheng222/Paddle that referenced this pull request Aug 25, 2025
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.

7 participants