【Hackathon 5th No.26】为 Paddle 新增 diagonal_scatter API -part by DanGuge · Pull Request #57879 · PaddlePaddle/Paddle
zxcd approved these changes Nov 9, 2023
luotao1
changed the title
【Hackathon 5th No.26】为 Paddle 新增 diagonal_scatter API
【Hackathon 5th No.26】为 Paddle 新增 diagonal_scatter API -part
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request
Nov 28, 2023…ddle#57879) * add diagonal_scatter * add diagonal_scatter_test * add annotations * modify int32/int64 test range * update diagonal_scatter doc * fix: bfloat16 type & test name & LayerHelper position * add diagonal scatter in __all__ list * add int16 in fill_diagonal_tensor & reuse the logic of fill_diagonal_tensor for diagonal_scatter * remove xpu settings * op test get_numeric_gradient does not support int16 * fix * Update python/paddle/tensor/manipulation.py Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com> * Update python/paddle/tensor/manipulation.py Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com> * fix review suggestions * Update python/paddle/tensor/manipulation.py Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com> * fix --------- Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com>
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