“10d85208bf7b601f79be062c5ef6afc8e9d42715”上不存在“test/legacy_test/test_multiprocess_dataloader_dynamic.py”
提交 2fe35e33 编写于 作者: S seiriosPlus

fix UT

上级 f529675c
...@@ -94,8 +94,10 @@ class TestLookupTableFuseOp(unittest.TestCase): ...@@ -94,8 +94,10 @@ class TestLookupTableFuseOp(unittest.TestCase):
training_program = fluid.Program() training_program = fluid.Program()
scope.var('Beta1Pow').get_tensor().set([0], place) scope.var('Beta1Pow').get_tensor().set(
scope.var('Beta2Pow').get_tensor().set([0], place) np.array([0]).astype("float32"), place)
scope.var('Beta2Pow').get_tensor().set(
np.array([0]).astype("float32"), place)
rows = [0, 1, 2, 3, 4, 5, 6] rows = [0, 1, 2, 3, 4, 5, 6]
row_numel = 8 row_numel = 8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册