From a9b1855a2410bdc2669fb544c90630f413048da0 Mon Sep 17 00:00:00 2001 From: gfwm2013 <2449465946@qq.com> Date: Sat, 5 Sep 2020 15:09:16 +0000 Subject: [PATCH] REfine the error of test_dynrnn_static_input test=develop --- python/paddle/fluid/tests/unittests/test_dynrnn_static_input.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/tests/unittests/test_dynrnn_static_input.py b/python/paddle/fluid/tests/unittests/test_dynrnn_static_input.py index b4359fc69ae18..698f914f89984 100644 --- a/python/paddle/fluid/tests/unittests/test_dynrnn_static_input.py +++ b/python/paddle/fluid/tests/unittests/test_dynrnn_static_input.py @@ -25,6 +25,7 @@ import numpy as np fluid.default_startup_program().random_seed = 1 +np.random.seed(1) class TestDyRnnStaticInput(unittest.TestCase):