deephyper.evaluator.queued

Contents

deephyper.evaluator.queued#

deephyper.evaluator.queued(evaluator_class)[source]#

Decorator transforming an Evaluator into a Queued{Evaluator}. The run_function used with a Queued{Evaluator} needs to have a dequed keyword-argument where the dequed resources from the queue will be passed.

Parameters:
  • queue (list) – A list of queued resources.

  • queue_pop_per_task (int, optional) – The number of resources popped out of the queue each time a task is submitted. Defaults to 1.