Added Float64 tests for DepthwiseConv
This commit is contained in:
parent
704be49483
commit
d4a1d33a31
@ -32,4 +32,14 @@ end
|
|||||||
m2 = DepthwiseConv((2, 2), 3)
|
m2 = DepthwiseConv((2, 2), 3)
|
||||||
|
|
||||||
@test size(m2(r), 3) == 3
|
@test size(m2(r), 3) == 3
|
||||||
|
|
||||||
|
x = zeros(Float64, 28, 28, 3, 5)
|
||||||
|
|
||||||
|
m3 = DepthwiseConv((2, 2), 3 => 5)
|
||||||
|
|
||||||
|
@test size(m3(r), 3) == 15
|
||||||
|
|
||||||
|
m4 = DepthwiseConv((2, 2), 3)
|
||||||
|
|
||||||
|
@test size(m4(r), 3) == 3
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user