From b46e8070bc23cc0e1be58bc6a1af54043ad09754 Mon Sep 17 00:00:00 2001 From: zhupengyang Date: Sat, 5 Sep 2020 17:14:36 +0800 Subject: [PATCH] fix normal ut by set manual_seed (#27028) (#27068) --- 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