forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable __setitem__ in static mode & add API paddle.static.setitem wi…
…th dy2st strategy (PaddlePaddle#53682) * add paddle.static.setitem * add some help doc * support setitem * support machanism * add more unittest * remove usless code * raise error in static setitem * fix d2s UT * remove static only for both-used code * fix bool set_value in static, fix set_value_op UT * fix unittests * [May case some error]: remove inplace-version check * add two test case for dy2st * fix function in vision * fix dy2st setitem support, refine UT case * fix slice in static_mode * add ParametersMap * remove pop * modify place * [fix]: variable is also a tensor * rewrite some ut & remove slicetransformer in dy2st * solve error in static-mode * fix ut * return a result for set_array_write * fix test_set_value_op_xpu * code is different in dynamic / static mode --------- Co-authored-by: Aurelius84 <[email protected]> Co-authored-by: NotHaozi <[email protected]>
- Loading branch information
1 parent
61ab1ae
commit 37695f5
Showing
18 changed files
with
1,060 additions
and
100 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.