Created
September 12, 2018 20:06
-
-
Save cjauvin/97029e403574e787c26497e8c3860e42 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1 - the error comes from the fact that you modify in place a tensor for which the gradient is required.
2 - You can just by using another tensor do the same thing, as demonstrated below: