This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
Wrong results for grad of grad. #155
Comments
The bug is confirmed. It is introduced by our latest performance refactoring. The fix will come soon. |
@lryta do you know what causes the bug? |
We added |
I see. But the two tapes should be separated right? I remember the code is |
I think |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Following this doc pagehttps://minpy.readthedocs.io/en/latest/tutorial/autograd_tutorial.html, running the code
The first order gradient is right, but the second and the third order gradients are not right. My results for them are both
0.0
(a single float number).However, from the definition of
foo
,d_2_foo(x)
should be an array of constants 2, andd_3_foo(x)
should be an array of 0.If my understanding is right, there must be some bug in the grad of grad mechanism, otherwise I would get my desired results.
The text was updated successfully, but these errors were encountered: