avalanche.training.RegularizationMethod

class avalanche.training.RegularizationMethod[source]

RegularizationMethod implement regularization strategies. RegularizationMethod is a callable. The method update is called to update the loss, typically at the end of an experience.

__init__()

Methods

__init__()

post_adapt(agent, exp)

pre_adapt(agent, exp)

update(*args, **kwargs)

Warning: Deprecated (removal in version 0.7: please switch to pre_update and post_update methods.)