bluepyemodel.tools.multiprocessing¶
Function related to parallel computing
Functions
|
Get a mapper for parallel computations. |
|
Get the map function linked to the ipython profile |
Classes
|
Class that represents a MultiProcessing nested pool |
|
Class that represents a non-daemon process |
- class NestedPool(processes=None, initializer=None, initargs=(), maxtasksperchild=None, context=None)¶
Bases:
PoolClass that represents a MultiProcessing nested pool
- Process¶
alias of
NoDaemonProcess
- class NoDaemonProcess(group=None, target=None, name=None, args=(), kwargs={})¶
Bases:
ProcessClass that represents a non-daemon process
Ensures group=None, for macosx.
- property daemon¶
Get daemon flag
- get_mapper(backend, ipyparallel_profile=None)¶
Get a mapper for parallel computations.
- ipyparallel_map_function(os_env_profile='IPYTHON_PROFILE', profile=None)¶
Get the map function linked to the ipython profile
- Parameters:
- Returns:
map