You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a matrix that I want to fill with 0 values using PaddedViews.jl: f2 = x -> sum(PaddedView(eltype(x)(0.0), x, (5, 5)))
But when using zygote to calculate the gradient:
The following error occurs: ERROR: Need an adjoint for constructor PaddedView{Int64, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}, Matrix{Int64}}. Gradient is of type FillArrays.Fill{Int64, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}
This bug seems similar to #483
The text was updated successfully, but these errors were encountered:
I have a matrix that I want to fill with 0 values using PaddedViews.jl:
f2 = x -> sum(PaddedView(eltype(x)(0.0), x, (5, 5)))
But when using zygote to calculate the gradient:
The following error occurs:
ERROR: Need an adjoint for constructor PaddedView{Int64, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}, Matrix{Int64}}. Gradient is of type FillArrays.Fill{Int64, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}
This bug seems similar to #483
The text was updated successfully, but these errors were encountered: