08f6bdeb5652550f36210f64aefda3d0d41e2d79,keras/optimizers.py,Adadelta,__init__,#Adadelta#Any#Any#Any#Any#,377

Before Change


            self.decay = K.variable(decay, name="decay")
            self.iterations = K.variable(0, dtype="int64", name="iterations")
        if epsilon is None:
            epsilon = K.epsilon()
        self.rho = rho
        self.epsilon = epsilon
        self.initial_decay = decay

    @interfaces.legacy_get_updates_support

After Change


            self.beta_1 = K.variable(beta_1, name="beta_1")
            self.beta_2 = K.variable(beta_2, name="beta_2")
            self.decay = K.variable(self.initial_decay, name="decay")
        self.epsilon = kwargs.pop("epsilon", K.epsilon())
        self.amsgrad = amsgrad
        super(Adam, self).__init__(**kwargs)

    @interfaces.legacy_get_updates_support
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: keras-team/keras
Commit Name: 08f6bdeb5652550f36210f64aefda3d0d41e2d79
Time: 2019-05-28
Author: tanzheny@google.com
File Name: keras/optimizers.py
Class Name: Adadelta
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 08f6bdeb5652550f36210f64aefda3d0d41e2d79
Time: 2019-05-28
Author: tanzheny@google.com
File Name: keras/optimizers.py
Class Name: RMSprop
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 665b0076e089dbe60ecadc34bf2cbff9d7042482
Time: 2019-05-28
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: Adam
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 665b0076e089dbe60ecadc34bf2cbff9d7042482
Time: 2019-05-28
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: RMSprop
Method Name: __init__