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

feature/anakin-engine3
Jiabin Yang 6 years ago committed by GitHub
parent a0af374f01
commit 44f50cf4e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,11 +302,7 @@ use_py_reader = False
# if we run sync mode
sync = False
if not core.is_compiled_with_cuda():
# how many batches we use
batch_num = 50
else:
batch_num = 5
batch_num = 5
np.random.seed = 1
src_word_np = np.random.randint(

Loading…
Cancel
Save