tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.39k stars 1.96k forks source link

add command line option to input the num_inter_threads and num_intra_… #194

Closed cuixiaom closed 6 years ago

cuixiaom commented 6 years ago

add command line option to input the num_inter_threads and num_intra_threads to control threads of session, this is important for training on multi-core CPUs to achieve the better performance.

cuixiaom commented 6 years ago

moved the threads settings into utils.get_config_proto() as suggested.

oahziur commented 6 years ago

Thanks, this has been merged into master branch.