-
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
[Zero-Dim] add 0D output support for linalg.slogdet #52891
[Zero-Dim] add 0D output support for linalg.slogdet #52891
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
# 2-D input | ||
x = paddle.randn([3, 3]) | ||
x.stop_gradient = False | ||
out = paddle.linalg.slogdet(x) |
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.
这个需要append_backward才有反向,fetch一下x.grad_name试下
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.
增加了静态图反向测试
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.
LGTM
* add 0D output support for inalg.slogdet,test=allcase * fix zerom dime test error test=allcase * fix test error test=allcase * add static backward test, test=allcase
PR types
Others
PR changes
Others
Describe
add 0D output support for inalg.slogdet
Pcard-66984