diff --git a/ppdet/ext_op/test/test_corner_pool.py b/ppdet/ext_op/test/test_corner_pool.py index b0d10b8939a24a557533c192de01c80079331356..7d89a25de7dbe3c93e29976efa509939cd03bcf1 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)