[API Compatibility] add `paddle.range` by HydrogenSulfate · Pull Request #74542 · PaddlePaddle/Paddle

and others added 30 commits

July 22, 2025 09:31

@HydrogenSulfate

@HydrogenSulfate

zyfncg

SigureMo

XiaoguangHu01

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 <zhanghonggeng@baidu.com>