-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[API compatibility] Add paddle.[dtype]Tensor and paddle.as_tensor #74694
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提交成功,感谢你对开源项目的贡献! |
zhwesky2010
left a comment
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
|
@Deleter-D 你这个没有加单测 |
|
可以先合入这个,然后 @zeroRains 在后面PR里 #74619 一起做补充工作:加单测、to_tenosr更新成tensor、加warning |
XiaoguangHu01
left a comment
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
Codecov Report❌ Patch coverage is
❌ 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. 🚀 New features to boost your workflow:
|
PR Category
User Experience
PR Types
New features
Description
Aligning with torch.[dtype]Tensor and torch.as_tensor API capabilities.
pcard-71500