-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support settiem by Bool index #35133
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8fd53fd
Support getitem by Bool index
zyfncg 13a6a07
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 0155baf
delete some debug info of bool index
zyfncg f901c11
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg b4430b4
support the case that the shape of bool index is different from index…
zyfncg 57fa5eb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg d8b4e40
support setitem by bool index
zyfncg 5278598
resolve conflit with develop
zyfncg d64dd08
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 37ffff2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 03b9dbf
add the unittest for throwing exception
zyfncg f412017
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 75a192c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 17adbe3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 37ed12f
merge conflict
zyfncg 9495851
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg 6666c94
add check for int tensor when index is bool
zyfncg 29c3e5b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
zyfncg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
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.
scatter_nd_add
的API文档上写的支持float32, float64
,这里是否需要做一下类型转换。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.
这里先设置了类型检查,暂时只支持float32和float64数据类型使用bool索引,后续再根据scatter_nd_add的支持情况进行修改