From 69188e59811d03be9d4e90ccf15d1203684a4607 Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Tue, 17 Apr 2018 20:02:44 +0800 Subject: [PATCH] fix ut --- python/paddle/fluid/tests/unittests/test_split_op.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/tests/unittests/test_split_op.py b/python/paddle/fluid/tests/unittests/test_split_op.py index 5a7123c36b..eb49a53e54 100644 --- a/python/paddle/fluid/tests/unittests/test_split_op.py +++ b/python/paddle/fluid/tests/unittests/test_split_op.py @@ -19,6 +19,7 @@ from op_test import OpTest class TestSplitOp(OpTest): def setUp(self): + self._set_op_type() axis = 1 x = np.random.random((4, 5, 6)).astype('float32') out = np.split(x, [2, 3], axis) -- GitLab