-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradient of array splat should be an array #599
Labels
bug
Something isn't working
Comments
See #489, where @MikeInnes described the approach for fixing this. |
Closed
BTW this is not fixed, although ProjectTo on final results hides the problem in the example above. If the gradient needs to be passed to another pullback expecting an array, you will get errors. To avoid the projection & see the problem, you can do this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The last example, behaves differently from the first two
One of the problems with returning a tuple, is that it breaks Flux's
update!
function, which is expecting an arrayThe text was updated successfully, but these errors were encountered: