-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[API Compatiblity] Fix range default dtype #74772
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
[API Compatiblity] Fix range default dtype #74772
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
5ad2b53 to
91aac7d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #74772 +/- ##
==========================================
Coverage ? 93.75%
==========================================
Files ? 3
Lines ? 16
Branches ? 0
==========================================
Hits ? 15
Misses ? 1
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
db62803 to
7ee6345
Compare
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
* fix range default dtype from int64 to float * fix range and its' UT * use view_decorator * fix * fix
PR Category
User Experience
PR Types
Bug fixes
Description
Pcard-75624
ParamAliasDecorator装饰类改为size_args_decorator装饰函数,提升性能paddle.range的dtype默认值改为全局默认精度,与pytorch实际行为保持一致