a53a9c241d59a1e1cd2ce0d0667cdb399e687236,kapre/augmentation.py,AdditiveNoise,call,#AdditiveNoise#Any#Any#,76

Before Change


                                       mean=0.,
                                       std=np.random.uniform(0.0, self.power))
        else:
            return x + K.random_normal(shape=K.shape(x),
                                       mean=0.,
                                       std=self.power)

    def get_config(self):
        config = {"power": self.power,
                  "random_gain": self.random_gain,

After Change


                                          mean=0.,
                                          std=self.power)

        return K.in_train_phase(noise_x, x)

    def get_config(self):
        config = {"power": self.power,
                  "random_gain": self.random_gain,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keunwoochoi/kapre
Commit Name: a53a9c241d59a1e1cd2ce0d0667cdb399e687236
Time: 2017-01-25
Author: gnuchoi+github@gmail.com
File Name: kapre/augmentation.py
Class Name: AdditiveNoise
Method Name: call


Project Name: keras-team/keras
Commit Name: cf3b3dff329cb2b50724ef44977abfd0a841ad77
Time: 2016-03-31
Author: francois.chollet@gmail.com
File Name: keras/regularizers.py
Class Name: ActivityRegularizer
Method Name: __call__


Project Name: broadinstitute/keras-rcnn
Commit Name: d8dbac5f530900c91b14d19169426bf5aff78f6c
Time: 2018-11-21
Author: mbroisin@wma13-b01.broadinstitute.org
File Name: keras_rcnn/layers/_object_detection.py
Class Name: ObjectDetection
Method Name: call


Project Name: keras-team/keras
Commit Name: c429e651c1d4fe83c84bc6a4405d5645faac6a2e
Time: 2016-04-01
Author: francois.chollet@gmail.com
File Name: keras/regularizers.py
Class Name: WeightRegularizer
Method Name: __call__