SequenceParallel#
- class prose.core.sequence.SequenceParallel#
A multi-process
Sequenceof blocks to be executed in parallel.The data_blocks allow blocks carying large amount of data to be run sequentially so that they are not copied from one process to another.
- Parameters:
blocks (list) – A list of blocks to be executed in parallel.
data_blocks (list, optional) – A list of data blocks to be executed in parallel.
name (str, optional) – A name for the sequence.
A sequence of
Blockobjects to sequentially process images- Parameters:
blocks (list) – list of
Blockobjectsname (str, optional) – name of the sequence, by default None
Methods
__init__(blocks[, data_blocks, name])A sequence of
Blockobjects to sequentially process imagesReturn the citations of the sequence
from_args(args)run(images[, terminate, show_progress, loader])Run the sequence
Run the
Block.terminatemethod of all blocksAttributes
argsblockslist of
Blockobjectsparams_strprocessing_timeTotal processing time of the sequence last run