correct channel value
This commit is contained in:
parent
5f21238d1a
commit
c031ae1a94
|
@ -55,9 +55,8 @@ end
|
|||
y = Conv((3,3), 1 => 1)(x)
|
||||
x_hat = ConvTranspose((3, 3), 1 => 1)(y)
|
||||
@test size(x_hat) == size(x)
|
||||
m = ConvTranspose((3,3), 2=>1)
|
||||
x = rand(10,10,2,1)
|
||||
|
||||
m = ConvTranspose((3,3), 1=>1)
|
||||
# Test that the gradient call does not throw: #900
|
||||
@test gradient(()->sum(m(x)), params(m)) isa Flux.Zygote.Grads
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue