context-encoder
context-encoder copied to clipboard
About torch.setnumthreads(1)
In the file (train.lua and data.lua), why set torch.setnumthreads(1)?
I am a little confused about the setting. Can I set multithreads, such as torch.setnumthreads(torch.getnumthreads())?
Thanks for your time.