未验证 提交 8902a414 编写于 作者: S Shijie 提交者: GitHub

Use fixed random seed (#43659)

上级 a9134dc2
...@@ -22,6 +22,8 @@ import config ...@@ -22,6 +22,8 @@ import config
from config import ATOL, DEVICES, RTOL from config import ATOL, DEVICES, RTOL
from parameterize import TEST_CASE_NAME, parameterize_cls, place, xrand from parameterize import TEST_CASE_NAME, parameterize_cls, place, xrand
np.random.seed(2022)
@place(DEVICES) @place(DEVICES)
@parameterize_cls((TEST_CASE_NAME, 'alpha', 'beta'), @parameterize_cls((TEST_CASE_NAME, 'alpha', 'beta'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册