4ec84541e3a33f906d49a3a58f5d249296a62c76,keras/preprocessing/image.py,ImageDataGenerator,standardize,#ImageDataGenerator#Any#,216
Before Change
if self.samplewise_center:
x -= np.mean(x)
if self.samplewise_std_normalization:
x /= np.std(x)
return x
def random_transform(self, x):
After Change
if self.samplewise_center:
x -= np.mean(x, axis=1, keepdims=True)
if self.samplewise_std_normalization:
x /= (np.std(x, axis=1, keepdims=True) + 1e-7)
return x
def random_transform(self, x):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: keras-team/keras
Commit Name: 4ec84541e3a33f906d49a3a58f5d249296a62c76
Time: 2016-03-02
Author: francois.chollet@gmail.com
File Name: keras/preprocessing/image.py
Class Name: ImageDataGenerator
Method Name: standardize
Project Name: NifTK/NiftyNet
Commit Name: 03e8525394683bb5da7668330cd910c87c7d4501
Time: 2017-04-03
Author: l.fidon@ucl.ac.uk
File Name: data_augmentation.py
Class Name:
Method Name: rand_intensity_normalisation
Project Name: catalyst-team/catalyst
Commit Name: d3f12d1622f736e649fcec853044b05fe68e05ba
Time: 2019-07-07
Author: scitator@gmail.com
File Name: catalyst/rl/onpolicy/algorithms/ppo.py
Class Name: PPO
Method Name: postprocess_buffer
Project Name: keras-team/keras
Commit Name: 54691f9be052e5564ca0e5c6a503e641ea3142e1
Time: 2015-04-27
Author: francois.chollet@gmail.com
File Name: keras/layers/normalization.py
Class Name: BatchNormalization
Method Name: output