From 4b17659c6fefc575f9dea22bf8d58131bfd3ef80 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Fri, 15 May 2020 20:51:23 +0800 Subject: [PATCH] fix unittest in ext_op (#689) --- ppdet/ext_op/test/test_corner_pool.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ppdet/ext_op/test/test_corner_pool.py b/ppdet/ext_op/test/test_corner_pool.py index b0d10b893..7d89a25de 100755 --- a/ppdet/ext_op/test/test_corner_pool.py +++ b/ppdet/ext_op/test/test_corner_pool.py @@ -83,11 +83,7 @@ class TestRightPoolOp(unittest.TestCase): place = fluid.CUDAPlace(0) with fluid.program_guard(tp, sp): - x = fluid.data( - name=self.name, - shape=x_shape, - dtype=x_type, - append_batch_size=False) + x = fluid.data(name=self.name, shape=x_shape, dtype=x_type) y = self.func_map[self.name][0](x) np.random.seed(0) -- GitLab