openfl.component.assigner.tasks.ValidateTask

class openfl.component.assigner.tasks.ValidateTask(name: str, function_name: str, task_type: str = 'validate', apply_local: bool = False, parameters: dict = <factory>)

Bases: Task

Validation Task class.

Parameters:
  • name (str) – Name of the task.

  • function_name (str) – Name of the function to be executed for the task.

  • apply_local (bool, optional) – Whether to apply the task locally. Defaults to False.

  • parameters (dict, optional) – Parameters for the task. Defaults to an empty dictionary.

Class Attributes:

task_type (str) – Type of the task. Set to ‘validate’.

Methods

Attributes

apply_local

task_type

name

function_name

parameters