From 3b0dccde3f1186f96ad19a2c14663d8a3848cf8c Mon Sep 17 00:00:00 2001 From: Shang Zhizhou Date: Mon, 28 Sep 2020 10:56:22 +0800 Subject: [PATCH] update a randomseed --- python/paddle/fluid/tests/unittests/test_activation_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_activation_op.py b/python/paddle/fluid/tests/unittests/test_activation_op.py index d0938e657bb..e80b9fdbebd 100755 --- a/python/paddle/fluid/tests/unittests/test_activation_op.py +++ b/python/paddle/fluid/tests/unittests/test_activation_op.py @@ -50,7 +50,7 @@ class TestActivation(OpTest): self.init_dtype() self.init_kernel_type() - np.random.seed(2048) + np.random.seed(2049) x = np.random.uniform(0.1, 1, [11, 17]).astype(self.dtype) out = np.exp(x) -- GitLab