Dragon API Dragon v0.3.0 Python 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.