SHM_Wrapper#
- class snake.core.parallel.SHM_Wrapper(func)[source]#
Bases:
object
Wrapper for function to be call with parallel shared memory.
- Parameters:
func (Callable) – Function to be called with shared memory arrays.
Methods
__init__
- __call__(input_props, output_props, *args, **kwargs)[source]#
Run in parallel with shared memory.
- Parameters:
input_props (ArrayProps)
output_props (ArrayProps)
args (Any)
kwargs (Any)
- Return type:
None