set_num_threads

dragon.set_num_threads(num)[source]

Set the number of threads for cpu parallelism.

Parameters:
  • num (int) – The number of threads to use.