Home:ALL Converter>Python - Parallel Processing of complex Objects

Python - Parallel Processing of complex Objects

Ask Time:2016-08-26T06:07:50         Author:

Json Formatter

Is it possible to process complex python objects in parallel? I have multiple objects that (should) simultaneously wait for input-parameters to arrive and to be processed and passed to another object.

For me the main advantage of this is not only the faster processing time, but also (very important) to keep the right order of processing the arriving inputs etc.

I want to use this for my python neural network with a number x of neurons that are all (simulated is sufficient, as long as the order is correct) simultaneously active. They wait for input (constantly active, object-related method) and if something arrives they wait a certain period of time for other inputs that arrive at the same time slot and consider that in the processing for the spike (access object related variables to send output to connected axons from other neurons)...

Is the multiprocessing module of python capable of doing this?

Thank you for support :)

Author:,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39155483/python-parallel-processing-of-complex-objects
yy