This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Order of trainable/non-trainable affecting NDArray gradient #19633
Unanswered
theRoughCode
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following custom autograd function (hugely simplified to demonstrate this error):
If I run the following
I get
a.grad = [1]
. However, if I swap the order of the parameters (i.e.m = func(c, a)
), I geta.grad = [0]
.Am I not using the custom autograd interface correctly or is there a bug within MXNet?
Beta Was this translation helpful? Give feedback.
All reactions