deephyper.evaluator.callback.Callback#
- class deephyper.evaluator.callback.Callback[source]#
Bases:
ABCCallback interface.
Methods
Called when the evaluator is being closed.
Called each time a local
Jobhas been gathered by the Evaluator.Called after local
Jobhave been gathered for each remoteJobthat is done.Called after gathering jobs.
Called each time a
Jobis created by theEvaluator.- on_done(job: Job)[source]#
Called each time a local
Jobhas been gathered by the Evaluator.- Parameters:
job (Job) – The completed job.
- on_done_other(job: Job)[source]#
Called after local
Jobhave been gathered for each remoteJobthat is done.- Parameters:
job (Job) – The completed Job.