未验证 提交 8c2ef016 编写于 作者: R risemeup1 提交者: GitHub

fix test error (#54110)

* fix test error

* fix test_exectuor_feed_non_tensor

* fix test error
上级 1b0db6bf
...@@ -186,7 +186,7 @@ class TestAsLodTensor(unittest.TestCase): ...@@ -186,7 +186,7 @@ class TestAsLodTensor(unittest.TestCase):
self.assertRaises( self.assertRaises(
TypeError, TypeError,
fluid.executor._as_lodtensor, fluid.executor._as_lodtensor,
[[1], [1, 2]], [{1.2, 1.2}, {1, 2}],
cpu, cpu,
fluid.core.VarDesc.VarType.INT32, fluid.core.VarDesc.VarType.INT32,
) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册