Skip to content

Commit 316e020

Browse files
committed
Submit PR again test=develop
1 parent 162cf75 commit 316e020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/paddle/fluid/tests/unittests/test_similarity_focus_op.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def setUp(self):
5757
if cnt == min(y_dim, z_dim):
5858
break
5959
channel[index] = -1
60-
res = res.reshape(1, y_dim, z_dim).repeat([x_dim], axis=0)
60+
res = res.reshape(1, y_dim, z_dim)
61+
res = res.repeat([x_dim], axis=0)
6162
res = res.reshape(1, x_dim, y_dim, z_dim)
6263
if output is not None:
6364
output = np.concatenate((output, res), axis=0)

0 commit comments

Comments
 (0)