We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typed_hvcat
This causes problems with Zygote:
julia> using Zygote julia> gradient(x -> sum([x x]), pi/2) (2.0,) julia> gradient(x -> sum(Float32[x x]), pi/2) ERROR: Mutating arrays is not supported -- called setindex!(Matrix{Float32}, ...) ... [7] typed_hcat @ Zygote ./abstractarray.jl:1610 [inlined]
Ideally we'd teach ChainRules how to handled this statement without going through to the implementation.
The text was updated successfully, but these errors were encountered:
See also #695
Sorry, something went wrong.
No branches or pull requests
This causes problems with Zygote:
Ideally we'd teach ChainRules how to handled this statement without going through to the implementation.
The text was updated successfully, but these errors were encountered: