Skip to content

Commit 8503f4b

Browse files
add test
1 parent 05a9a2d commit 8503f4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/layers/upsample.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ end
4242
@test y isa Array{Float32, 4}
4343
@test size(y) == (6, 8, 2, 3)
4444

45+
m = Upsample(2)
46+
@test y2 y
47+
4548
m = Upsample(:nearest, size=(6,8))
4649
y = m(x)
4750
@test y isa Array{Float32, 4}

0 commit comments

Comments
 (0)