Replies: 1 comment
-
The default AD (Zygote) will not be able to differentiate that code. You will have to define a custom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This question is a follow up to the issue #376.
A quick follow up on
mat = reshape(y, 3, 3)
syntax.How would it handle a symmetric matrix if I supply 6 independent components?
I know from symmetry that
mat=[y[1] y[2] y[3]; y[2] y[4] y[5]; y[3] y[5] y[6]]
. Would this be acceptable for AD?Additionally, how can I check is AD will compute the gradients?
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions