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
hcat
[I array]
In expressions like this, hcat figures out the size of I automatically, but the rrule assumes it behaves like a number:
I
rrule
julia> y = hcat(I, 11:13) 3×4 Matrix{Int64}: 1 0 0 11 0 1 0 12 0 0 1 13 julia> using ChainRules: rrule, unthunk julia> dy = reshape(1:12, 3, 4) 3×4 reshape(::UnitRange{Int64}, 3, 4) with eltype Int64: 1 4 7 10 2 5 8 11 3 6 9 12 julia> rrule(hcat, I, 11:13)[2](dy) .|> unthunk (ChainRulesCore.NoTangent(), ChainRulesCore.NoTangent(), [4.0, 5.0, 6.0])
Bug seen here: https://discourse.julialang.org/t/jacobian-vectors-in-zygote/121381 . Originally introduced in #614.
The text was updated successfully, but these errors were encountered:
rule is wrong for
No branches or pull requests
In expressions like this,
hcat
figures out the size ofI
automatically, but therrule
assumes it behaves like a number:Bug seen here: https://discourse.julialang.org/t/jacobian-vectors-in-zygote/121381 . Originally introduced in #614.
The text was updated successfully, but these errors were encountered: