

def __init__(self, worker, **kwargs):
    kwargs.setdefault('before_training', True)
    kwargs.setdefault('on_resumption', True)
    kwargs.setdefault('after_training', True)
    super(Synchronize, self).__init__(**kwargs)
    self.worker = self

dataset/ETHPy150Open mila-udem/blocks-extras/blocks_extras/extensions/synchronization.py Synchronize.__init__/VarMisuse@59/77 `worker`->`self`