Open
Description
Just a simple convolution with two complex matrices breaks:
conv(randn(Complex{Float32}, 25,25,1,3), randn(Complex{Float32}, 5,5,1,3))
The stated reason is that this line
NNlib.jl/src/nnpack/interface.jl
Line 15 in 0d16973
Line 8 in 0d16973
and
NNlib.jl/src/nnpack/libnnpack.jl
Line 127 in 0d16973
to allow for
Complex{Float32}
as well allowed it to work as normal. I suspect a similar issue happens with any other functions that could work on complex inputs, but I haven't done extensive testing.