2021-01-15 08:33:39 +01:00
|
|
|
import multiprocessing
|
|
|
|
|
2021-01-19 18:26:40 +01:00
|
|
|
N_JOBS = 1 #multiprocessing.cpu_count()
|
|
|
|
ENSEMBLE_N_JOBS = -2
|
|
|
|
SAMPLE_SIZE = 100
|
|
|
|
|
|
|
|
assert N_JOBS==1 or ENSEMBLE_N_JOBS==1, 'general N_JOBS and ENSEMBLE_N_JOBS should not be both greater than 1'
|