You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
central_fdm will cause problem when one wants the input always being positive semidefinite, e.g the real value logdet function. It cause the gradcheck of logdet in Zygote fails occasionally, any idea how to preserve this property while doing FDM?
Ah, yes, this is generally problematic. I always do something similar to what you've done (I'll usually add the identity to x * x' to ensure it's reasonably well conditioned though), but it's not a particularly satisfying solution.
Activity
willtebbutt commentedon Nov 10, 2019
Ah, yes, this is generally problematic. I always do something similar to what you've done (I'll usually add the identity to
x * x'to ensure it's reasonably well conditioned though), but it's not a particularly satisfying solution.wesselb commentedon Dec 17, 2020
Perhaps a bit of an old issue, but just wanted to remark that there is also the solution of using
forward_fdminstead ofcentral_fdm: