We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef01fd commit abc99e7Copy full SHA for abc99e7
tensorlayer/layers.py
@@ -2186,7 +2186,7 @@ def deconv2d_bilinear_upsampling_initializer(shape):
2186
num_in_channels = shape[3]
2187
2188
#Create bilinear filter kernel as numpy array
2189
- bilinear_kernel = np.zeros([filter_size, filter_size], dtype=D_TYPE) # dtype=np.float32)
+ bilinear_kernel = np.zeros([filter_size, filter_size], dtype=np.float32)
2190
scale_factor = (filter_size + 1) // 2
2191
if filter_size % 2 == 1:
2192
center = scale_factor - 1
0 commit comments