diff --git a/python/paddle/fluid/tests/unittests/test_linalg_cond.py b/python/paddle/fluid/tests/unittests/test_linalg_cond.py index d13bdd676b48e38844e78469a2c36156b272f5e4..9e3edd82681bca1c7f29046a7761543ca7550d50 100644 --- a/python/paddle/fluid/tests/unittests/test_linalg_cond.py +++ b/python/paddle/fluid/tests/unittests/test_linalg_cond.py @@ -47,6 +47,7 @@ def test_dygraph_assert_true(self, x_list, p_list): def gen_input(): + np.random.seed(2021) # generate square matrix or batches of square matrices input_1 = np.random.rand(5, 5).astype('float32') input_2 = np.random.rand(3, 6, 6).astype('float64')