def __init__(self, sync_frequency=<NUM_LIT:1>, update_weight=<NUM_LIT:1.0>, scope='<STR_LIT>', summary_labels=()):
assert isinstance(sync_frequency, int) and sync_frequency > <NUM_LIT:0><EOL>self.sync_frequency = sync_frequency<EOL>assert isinstance(update_weight, float) and update_weight > <NUM_LIT:0.0><EOL>self.update_weight = update_weight<EOL>super(Synchronization, self).__init__(scope=scope, summary_labels=summary_labels)<EOL>
Creates a new synchronization optimizer instance.

Args:
    sync_frequency: The interval between optimization calls actually performing a  
    synchronization step.
    update_weight: The update weight, 1.0 meaning a full assignment of the source  
    variables values.