Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

shared between processes multi-dimensional arrays for Python 3

As far as I understand sharedmem-numpy package (numpy-sharedmem) is only for Python 2. Does it exist something similar (shared sort of numpy arrays) for Python 3?
The purpose is to write to one multi-dimensional array simultaneously by several processes. By default, it is known that every process will write only in its own part of array, so there will be no any conflicts.

like image 471
alr Avatar asked Aug 16 '26 09:08

alr


1 Answers

Have a look at Blaze and Dask, developed as a successor to Numpy.

Multi-core NumPy arrays can be achieved with Dask.array.

like image 145
rth Avatar answered Aug 18 '26 08:08

rth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!