-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[API compatibility] add Alias : paddle.prod & paddle.no_grad & paddle.reshape & paddle.Tensor.bitwise_or_ #74480
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提交成功,感谢你对开源项目的贡献! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #74480 +/- ##
===========================================
Coverage ? 100.00%
===========================================
Files ? 6
Lines ? 33
Branches ? 0
===========================================
Hits ? 33
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/re-run all-failed |
….reshape & paddle.Tensor.bitwise_or_ (PaddlePaddle#74480) * add Alias : prod no_grad reshape bitwise_or_ * opt Decorator * opt Decorator2 * opt reshape alias * fix reshape alias * fix reshape alias * fix reshape alias2
PR Category
Operator Mechanism
PR Types
Improvements
Description
Added API compatibility with PyTorch by introducing alias parameter.
paddle.no_grad
paddle.prod
paddle.reshape
paddle.Tensor.bitwise_or_
Due to the short testing time for reshape performance, it is particularly sensitive to performance. Therefore, a "param_one_alias" decorator is added to the reshape function.
Other
add alias unittest.
pcard-67164