From 70b52733630d4ef34b12fdf9dce65ca3cf0d4415 Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Tue, 23 Oct 2018 10:55:43 +0000 Subject: [PATCH] test=develop --- python/paddle/fluid/tests/unittests/test_reorg_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_reorg_op.py b/python/paddle/fluid/tests/unittests/test_reorg_op.py index b773606fe31..a3afabe7afe 100644 --- a/python/paddle/fluid/tests/unittests/test_reorg_op.py +++ b/python/paddle/fluid/tests/unittests/test_reorg_op.py @@ -49,7 +49,7 @@ class TestReorgOp(OpTest): self.x.shape[1], self.x.shape[0], self.stride, self.forward, self.out_1d) self.out = np.reshape(self.out_1d, self.infered_shape) - self.attrs = {"stride": long(self.stride)} + self.attrs = {"stride": self.stride} self.outputs = {"Out": self.out} def init_data(self): -- GitLab