未验证 提交 44f50cf4 编写于 作者: J Jiabin Yang 提交者: GitHub

test=release/1.4, fix test_impertative_transformer (#16708)

上级 a0af374f
...@@ -302,11 +302,7 @@ use_py_reader = False ...@@ -302,11 +302,7 @@ use_py_reader = False
# if we run sync mode # if we run sync mode
sync = False sync = False
if not core.is_compiled_with_cuda(): batch_num = 5
# how many batches we use
batch_num = 50
else:
batch_num = 5
np.random.seed = 1 np.random.seed = 1
src_word_np = np.random.randint( src_word_np = np.random.randint(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册