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
foldl
Found here: FluxML/Zygote.jl#1297
julia> using ChainRules, ChainRulesCore, ChainRulesTestUtils julia> const CFG = ChainRulesTestUtils.TestConfig(); julia> foldl(/, (), init=0) 0 julia> rrule(CFG, foldl, /, (), init=0) ERROR: BoundsError: attempt to access Tuple{} at index [0] Stacktrace: [1] getindex(t::Tuple, i::Int64) @ Base ./tuple.jl:29 [2] last(a::Tuple{}) @ Base ./abstractarray.jl:500 [3] rrule(config::ChainRulesTestUtils.TestConfig, ::typeof(foldl), op::typeof(/), x::Tuple{}; init::Int64) @ ChainRules ~/.julia/packages/ChainRules/fgVxV/src/rulesets/Base/mapreduce.jl:448
The text was updated successfully, but these errors were encountered:
fix JuliaDiff#672
1b5d7a1
mapfoldl_impl
c0a1aeb
1b8e121
Successfully merging a pull request may close this issue.
Found here: FluxML/Zygote.jl#1297
The text was updated successfully, but these errors were encountered: