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
julia> dx, dy, cache_w = ([0.17;;; 0.19;;; 0.23], [0.11;;; 0.13;;; 0.15], [1.0;;;]) ([0.17;;; 0.19;;; 0.23], [0.11;;; 0.13;;; 0.15], [1.0;;;]) julia> NNlib.∇conv_data!(dx, dy, cache_w, cdims; alpha=1.0, beta=1.0) 1×1×3 Array{Float64, 3}: [:, :, 1] = 0.11 [:, :, 2] = 0.13 [:, :, 3] = 0.15
This is wrong. grad_conv should do dx = alpha * dx + beta * grad. Here the correct result should be the original dx .+ dy, but instead just has dy.
The text was updated successfully, but these errors were encountered:
I traced the issue down to a flawed function ∇conv_data_im2col!
function ∇conv_data_im2col!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is wrong. grad_conv should do dx = alpha * dx + beta * grad. Here the correct result should be the original dx .+ dy, but instead just has dy.
The text was updated successfully, but these errors were encountered: