未验证 提交 0fd974b4 编写于 作者: H Haohongxiang 提交者: GitHub

set seed for uts (#44372)

上级 b7db8457
......@@ -30,6 +30,7 @@ class LinalgLstsqTestCase(unittest.TestCase):
self.devices.append("gpu:0")
self.generate_input()
self.generate_output()
np.random.seed(2022)
def init_config(self):
self.dtype = 'float64'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册