2a28ac2467cf4e20143a1c999a427160af8dcfc5,autokeras/hypermodel/hyperblock.py,ImageBlock,build,#ImageBlock#Any#Any#,69

Before Change


        normalize = self.normalize or hp.Choice("normalize",
                                                [True, False],
                                                default=True)
        augment = self.augment or hp.Choice("augment", [True, False], default=True)
        if normalize:
            output_node = preprocessor.Normalization()(output_node)
        if augment:
            output_node = preprocessor.ImageAugmentation(seed=self.seed)(output_node)

After Change


        normalize = self.normalize
        if normalize is None:
            normalize = hp.Choice("normalize", [True, False], default=True)
        augment = self.augment
        if augment is None:
            augment = hp.Choice("augment", [True, False], default=True)
        if normalize:
            output_node = preprocessor.Normalization()(output_node)
        if augment:
            output_node = preprocessor.ImageAugmentation(seed=self.seed)(output_node)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: keras-team/autokeras
Commit Name: 2a28ac2467cf4e20143a1c999a427160af8dcfc5
Time: 2019-08-27
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/hyperblock.py
Class Name: ImageBlock
Method Name: build


Project Name: keras-team/autokeras
Commit Name: 2a28ac2467cf4e20143a1c999a427160af8dcfc5
Time: 2019-08-27
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/block.py
Class Name: DenseBlock
Method Name: build


Project Name: keras-team/autokeras
Commit Name: 2a28ac2467cf4e20143a1c999a427160af8dcfc5
Time: 2019-08-27
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/block.py
Class Name: RNNBlock
Method Name: build