[Zero-Dim] add 0D output support for linalg.slogdet by GGBond8488 · Pull Request #52891 · PaddlePaddle/Paddle
你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.
GGBond8488
changed the title
【0D output】add 0D output support for inalg.slogdet
【0D output】add 0D output support for linalg.slogdet
| # 2-D input | ||
| x = paddle.randn([3, 3]) | ||
| x.stop_gradient = False | ||
| out = paddle.linalg.slogdet(x) |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个需要append_backward才有反向,fetch一下x.grad_name试下
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
增加了静态图反向测试
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jjyaoao pushed a commit to jjyaoao/Paddle that referenced this pull request
Apr 19, 2023
zhwesky2010
changed the title
【0D output】add 0D output support for linalg.slogdet
[Zero-Dim] add 0D output support for linalg.slogdet
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