未验证 提交 644a894d 编写于 作者: H Haohongxiang 提交者: GitHub

Update test_linalg_cond.py (#39574)

add control of random seed in UT of cond
上级 ef5d216e
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册