python Programming Glossary: static_arg
PicklingError when using multiprocessing http://stackoverflow.com/questions/7016567/picklingerror-when-using-multiprocessing as sp import scipy.stats as spstat def parfor func args static_arg None nWorkers 8 chunksize None Purpose Evaluate function using.. in parallel arg Array of arguments to evaluate func arg static_arg The static argument if any i.e. the variables that are constant.. Number of Workers to process computations. Output func i static_arg for i in args. # Prepare arguments for func Collect arguments..
|