From 2f97ecdd74f3dd186ff62aab561397e9f7333ff0 Mon Sep 17 00:00:00 2001 From: zhupengyang Date: Sat, 5 Sep 2020 10:00:21 +0800 Subject: [PATCH] fix normal ut by set manual_seed (#27028) --- python/paddle/fluid/tests/unittests/test_normal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/tests/unittests/test_normal.py b/python/paddle/fluid/tests/unittests/test_normal.py index 3e6855feaf4..995a1f26ff6 100644 --- a/python/paddle/fluid/tests/unittests/test_normal.py +++ b/python/paddle/fluid/tests/unittests/test_normal.py @@ -18,6 +18,7 @@ import paddle import copy np.random.seed(10) +paddle.manual_seed(10) class TestNormalAPI(unittest.TestCase): -- GitLab