Skip to content
New issue

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

no method matching conv(::Array{Float32,4}, ::Array{Float32,4}; stride=(1, 1), pad=(0, 0), dilation=(1, 1)) #106

Closed
pevnak opened this issue Apr 4, 2019 · 1 comment

Comments

@pevnak
Copy link
Contributor

pevnak commented Apr 4, 2019

This simple code is breaking on latest master.

julia> using Flux, NNlib

julia> c = Conv((2,1), 1 => 1, identity)
Conv((2, 1), 1=>1)

julia> x = randn(10,1,1,11);

julia> c(x)
ERROR: MethodError: no method matching conv(::Array{Float32,4}, ::Array{Float32,4}; stride=(1, 1), pad=(0, 0), dilation=(1, 1))
Closest candidates are:
  conv(::AbstractArray{xT,N}, ::AbstractArray{wT,N}, ::ConvDims; kwargs...) where {xT, wT, N} at /Users/tpevny/.julia/packages/TimerOutputs/7zSea/src/TimerOutput.jl:198
  conv(::AbstractArray, ::TrackedArray; kw...) at /Users/tpevny/.julia/dev/Tracker/src/lib/array.jl:402
  conv(::TrackedArray, ::AbstractArray; kw...) at /Users/tpevny/.julia/dev/Tracker/src/lib/array.jl:403
Stacktrace:
@MikeInnes
Copy link
Member

I think you need FluxML/Flux.jl#714

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants