2f1f42eeb68c64ff991c0ae2e8253a9305e90f74,autokeras/hypermodel/processor.py,Normalize,transform,#Normalize#Any#Any#,91
Before Change
A DataLoader instance.
// channel-wise normalize the image
data = (data - self.mean) / self.std
return data
After Change
// channel-wise normalize the image
def normalize(x):
return (x - self.mean) / self.std
return data.map(normalize)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: keras-team/autokeras
Commit Name: 2f1f42eeb68c64ff991c0ae2e8253a9305e90f74
Time: 2019-07-04
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/processor.py
Class Name: Normalize
Method Name: transform
Project Name: maxpumperla/elephas
Commit Name: b05b32dad4671f8e3575baf775f82be03617e1e7
Time: 2021-01-24
Author: danielenricocahall@gmail.com
File Name: elephas/spark_model.py
Class Name: SparkModel
Method Name: _evaluate
Project Name: NifTK/NiftyNet
Commit Name: f27fc2c9841b582b7280d00abca832b09954a7fc
Time: 2017-08-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_window.py
Class Name:
Method Name: read_window_sizes
Project Name: keras-team/autokeras
Commit Name: dd3469ee312513f2b8a1b2e4e90e8eb95a6f3bbb
Time: 2020-06-09
Author: jhfjhfj1@gmail.com
File Name: autokeras/adapters/input_adapter.py
Class Name: TextInputAdapter
Method Name: convert_to_dataset