@@ -727,14 +727,13 @@ end
727
727
728
728
# https://github.com/FluxML/NNlib.jl/pull/171
729
729
@testset " conv_wrapper with groups - not equal types that trigger direct backend" begin
730
- x = rand (Float32, 10 , 10 , 3 , 8 )
731
- w = rand (Float64, 2 , 2 , 3 , 4 )
730
+ x = rand (Float32, 10 , 10 , 32 , 8 )
731
+ w = rand (Float64, 2 , 2 , 16 , 4 )
732
732
g = 2
733
- @test size (conv (x, w); groups= g) == (9 , 9 , 16 , 8 )
734
- @test size (conv (x, w; stride = (2 , 2 ), pad = (2 , 2 ), groups= g)) == (7 , 7 , 16 , 8 )
735
- @test size (conv (x, w1; stride = (1 , 2 ), pad = (2 , 3 ), groups= g)) == (12 , 7 , 16 , 8 )
736
- @test size (conv (x, w; stride = (1 , 2 ), pad = (2 , 3 ), dilation = (2 , 2 ), groups= g)) == (12 , 7 , 16 , 8 )
737
- @test size (conv (x, w; stride = (1 , 2 ), pad = (2 , 3 ), dilation = (2 , 2 ), flipped = true , groups= g)) == (12 , 7 , 16 , 8 )
733
+ @test size (conv (x, w; groups= g)) == (9 , 9 , 4 , 8 )
734
+ @test size (conv (x, w; stride = (2 , 2 ), pad = (2 , 2 ), groups= g)) == (7 , 7 , 4 , 8 )
735
+ @test size (conv (x, w; stride = (1 , 2 ), pad = (2 , 3 ), dilation = (2 , 2 ), groups= g)) == (12 , 7 , 4 , 8 )
736
+ @test size (conv (x, w; stride = (1 , 2 ), pad = (2 , 3 ), dilation = (2 , 2 ), flipped = true , groups= g)) == (12 , 7 , 4 , 8 )
738
737
end
739
738
740
739
@testset " depthwiseconv_wrapper" begin
0 commit comments