Skip to content

Commit bf021f3

Browse files
author
wangyang59
committed
resize test
1 parent 469a349 commit bf021f3

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

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

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,11 @@ def init_test_case(self):
8484
self.out_w = 12
8585

8686

87-
class TestCase2(TestBilinearInterpOp):
88-
def init_test_case(self):
89-
self.input_shape = [16, 3, 512, 1024]
90-
self.out_h = 128
91-
self.out_w = 256
92-
93-
94-
class TestCase2(TestBilinearInterpOp):
87+
class TestCase3(TestBilinearInterpOp):
9588
def init_test_case(self):
96-
self.input_shape = [8, 1, 256, 128]
97-
self.out_h = 1024
98-
self.out_w = 1024
89+
self.input_shape = [1, 1, 128, 64]
90+
self.out_h = 64
91+
self.out_w = 128
9992

10093

10194
if __name__ == "__main__":

0 commit comments

Comments
 (0)