Skip to content

Commit 7d0101d

Browse files
authored
Quick fix
1 parent 7ddf076 commit 7d0101d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ def _PS(X, r, n_out_channel):
21742174
bsize = tf.shape(X)[0] # Handling Dimension(None) type for undefined batch dim
21752175
Xs=tf.split(X,r,3) #b*h*w*r*r
21762176
Xr=tf.concat(Xs,2) #b*h*(r*w)*r
2177-
X=tf.reshape(Xr,(bsize,r*a,r*b,c)) # b*(r*h)*(r*w)*c
2177+
X=tf.reshape(Xr,(bsize,r*a,r*b,n_out_channel)) # b*(r*h)*(r*w)*c
21782178
else:
21792179
print(_err_log)
21802180
return X

0 commit comments

Comments
 (0)