openfl.component.collaborator.collaborator.OptTreatment#

class openfl.component.collaborator.collaborator.OptTreatment(value)[source]#

Bases: Enum

Optimizer Methods.

RESET#

Resets the optimizer state at the beginning of each round.

Type:

int

CONTINUE_LOCAL#

Continues with the local optimizer state from the previous round.

Type:

int

CONTINUE_GLOBAL#

Continues with the federally averaged optimizer state from the previous round.

Type:

int

__init__()#

Attributes