Job#
- class anomalib.pipelines.components.base.job.Job#
Bases:
ABCA job is an atomic unit of work that can be run in parallel with other jobs.
- abstract static collect(results)#
Gather the results returned from run.
This can be used to combine the results from multiple runs or to save/process individual job results.
- Parameters:
results (list) – List of results returned from run.
- Returns:
Collated results.
- Return type:
(GATHERED_RESULTS)
- abstract run(task_id=None)#
A job is a single unit of work that can be run in parallel with other jobs.
task_idis optional and is only passed when the job is run in parallel.- Return type: