Open
Description
So this is probably a copy of #832 and #816. But I don't think the arguments apply in my case.
When using apply!
with ADAGrad, there is the line
Flux.jl/src/optimise/optimisers.jl
Line 348 in 075f42b
The type assertion assumes that it should be of the same type as
x
and it's an issue.
I am working with views therefore the type of x
is SubArray{...}
, however zero(x)
will of course return an Array{...}
and the resulting output will not pass the type assertion.
Metadata
Metadata
Assignees
Labels
No labels