未验证 提交 128f5df8 编写于 作者: T Tian Zheng 提交者: GitHub

Fix test_eig_op_static_build (#55897)

上级 f45dd5ee
...@@ -281,6 +281,7 @@ class TestEigStatic(TestEigOp): ...@@ -281,6 +281,7 @@ class TestEigStatic(TestEigOp):
class TestEigDyGraph(unittest.TestCase): class TestEigDyGraph(unittest.TestCase):
def test_check_output_with_place(self): def test_check_output_with_place(self):
np.random.seed(1024)
input_np = np.random.random([3, 3]).astype('complex') input_np = np.random.random([3, 3]).astype('complex')
expect_val, expect_vec = np.linalg.eig(input_np) expect_val, expect_vec = np.linalg.eig(input_np)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册