[API Compatibility] add paddle.range#74542
Merged
HydrogenSulfate merged 71 commits intoAug 18, 2025
Merged
Conversation
Contributor
Contributor
Author
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (63.57%) 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 #74542 +/- ##
==========================================
Coverage ? 63.57%
==========================================
Files ? 5
Lines ? 140
Branches ? 0
==========================================
Hits ? 89
Misses ? 51
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zyfncg
reviewed
Aug 18, 2025
| interfaces : paddle::dialect::InferSymbolicShapeInterface | ||
| traits : paddle::dialect::ForwardOnlyTrait | ||
|
|
||
| - op : range_v2 |
Contributor
There was a problem hiding this comment.
这个算子应该可以走动静统一,arange是因为兼容问题才分开配置的
Contributor
Author
There was a problem hiding this comment.
TODO:下个PR统一到ops.yaml里
zyfncg
approved these changes
Aug 18, 2025
luotao1
approved these changes
Aug 18, 2025
a5d987e
into
PaddlePaddle:develop
123 of 134 checks passed
This was referenced Aug 18, 2025
Luckycheng222
pushed a commit
to Luckycheng222/Paddle
that referenced
this pull request
Aug 25, 2025
* fix index_elemwentwise_get_gard bug slice-check * enhance Tensor creation methods * add static test * fix UT * fix date * refine code * fix * fix UT * fix * fix BatchNormDoubleGradKernel * restore code * fix * fix * fix * fix for review * restore requires_grad setting * update 4 Tensor.new_xxx methods * fix name * use full instead of fill_constant * refine device * use full instead of fill_constant * fix * fix * fix string device * add pir mothods * update paddle.arange API * update code * add more UT * update paddle.range * use _get_paddle_place * fix * fix UT * update docstring * skip xpu test * fix * support out * fix xpu UT * fix 2022->2025 * update range docstring * fix builtin.range * skip UT for dcu * skip XPU * update symbolic shape UT for range --------- Co-authored-by: zhanghonggeng <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


PR Category
User Experience
PR Types
New features
Description
Pcard-75624
paddle.rangepython API_C_ops.range_v2(range好像被arange占用了,使用range时编译会报错重复定义)