Optimize advanced setting by remove the last set_value by zoooo0820 · Pull Request #60771 · PaddlePaddle/Paddle

added 2 commits

January 10, 2024 07:50

@zoooo0820

@zoooo0820

jeff41404

zoooo0820 added a commit to zoooo0820/Paddle that referenced this pull request

Feb 27, 2024
…60771)

* pure-advanced setitem will not set_value back

* fix multi output in tensor_array_pir

* only in dynamic mode

* add only advanced-setting case to fix coverage

XiaoguangHu01 pushed a commit that referenced this pull request

Feb 28, 2024
* tensor_array slice in PIR (#60503)

* use slice_array, now will meet error of destory opresult still in use

* disable the pir test until the bug fixed

* Optimize advanced setting by remove the last set_value (#60771)

* pure-advanced setitem will not set_value back

* fix multi output in tensor_array_pir

* only in dynamic mode

* add only advanced-setting case to fix coverage

* fast pass for bool setitem (#61021)

* fast pass for bool setitem

* fix 0-size value case

* remove final set_value OP in combined-indexing setting (#60983)

* remove setvalue in combined indexing set

* using combined-setting case to test

* Optimize index put preprocess (#61060)

* reduce vector operations when no bool index

* reduce vector in index_put

* reduce vector operations

* no change for value

* fix shape error in combine-getitem (#61922)