Skip to main content

helper

Helper functions.

Classes

TaskContext

class TaskContext(value, names=None, *, module=None, qualname=None, type=None, start=1):

Describes the context (modeller or worker) in which the task is running.

This is used for models where the model differs depending on if it is on the modeller-side or worker-side of the federated process. It is also used for batched execution.

Ancestors

Variables

  • static MODELLER
  • static WORKER