You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to doc, the num_filters should be int and dilation should be a tuple. And in tensorflow and pytorch, the dilation should be greater than 0, but in following code, when dilation is 0, ConvolutionTranspose2D outputs normally.
f = C.layers.ConvolutionTranspose2D((3, 4), (1, 1), activation=C.relu, dilation=0)
x = C.input_variable((3, 480, 640))
h = f(x)
print(h.shape)
print(f.W.shape)
# (1, 1, 482, 643)
# (-1, 1, 1, 3, 4)
The text was updated successfully, but these errors were encountered:
According to doc, the
num_filters
should be int anddilation
should be a tuple. And in tensorflow and pytorch, the dilation should be greater than 0, but in following code, whendilation
is 0, ConvolutionTranspose2D outputs normally.The text was updated successfully, but these errors were encountered: