ee950b503eeed5aca3747a4bcf2a40f624b743a0,tensorforce/core/optimizers/synchronization.py,Synchronization,tf_step,#Synchronization#Any#Any#Any#,58

Before Change


                deltas.append(delta)
            return deltas

        sync_frequency = self.sync_frequency.value()
        skip_sync = (time - self.last_sync < sync_frequency)
        return self.cond(pred=skip_sync, true_fn=no_sync, false_fn=apply_sync)

After Change


        Args:
            variables: List of variables to optimize.
            source_variables: List of source variables to synchronize with.
            **kwargs: Additional arguments, not used.

        Returns:
            List of delta tensors corresponding to the updates for each optimized variable.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: reinforceio/tensorforce
Commit Name: ee950b503eeed5aca3747a4bcf2a40f624b743a0
Time: 2019-01-21
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/optimizers/synchronization.py
Class Name: Synchronization
Method Name: tf_step


Project Name: vatlab/SoS
Commit Name: 4c3e9ae92ffe991b38432f494cf1e3a84adf87cb
Time: 2016-10-03
Author: ben.bog@gmail.com
File Name: pysos/sos_executor.py
Class Name: Base_Executor
Method Name: initialize_dag


Project Name: mozilla/mozregression
Commit Name: 2f11054c7de54e9bf242ab36bca4449aafd8a6ab
Time: 2015-09-10
Author: sabergeass@gmail.com
File Name: gui/mozregui/global_prefs.py
Class Name:
Method Name: get_prefs