-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[API compatibility] add paddle.Tensor.ravel #74454
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
|
#74439 这个API已经加上了 |
|
单测已经改为paddle.Tensor.ravel |
Codecov Report✅ All modified and coverable lines are covered by tests. Please upload reports for the commit 64cb54c to get more accurate results. Additional details and impacted files@@ Coverage Diff @@
## develop #74454 +/- ##
===========================================
Coverage ? 100.00%
===========================================
Files ? 1
Lines ? 2
Branches ? 0
===========================================
Hits ? 2
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@Starrysea996 这个padle.ravel已经合入了,这里新增Tensor.ravel就可以了,不用再增加ravel了 |
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
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
jeff41404
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
* add ravel api * use paddle.Tensor.ravel for testcase * replace ravel param x with input * change copyright time * add only Tensor.ravel
PR Category
User ExperiencePR Types
New featuresDescription
add Tensor.ravel api for paddle, similar to torch.Tensor.ravel