dacd89544ddaf1ab7e572850ebdec3dbaeda0ea0,autokeras/layer_transformer.py,,deeper_conv_block,#Any#Any#,8

Before Change


                               kernel_size=filter_shape,
                               padding="same")
    new_conv_layer.build((None,) * (len(filter_shape) + 1) + (n_filters,))
    new_conv_layer.set_weights((weight, bias))
    return [new_conv_layer,
            BatchNormalization(),
            Activation("relu")]

After Change


                               kernel_size=filter_shape,
                               padding="same")
    new_conv_layer.build((None,) * (len(filter_shape) + 1) + (n_filters,))
    new_conv_layer.set_weights((add_noise(weight, np.array([0, 1])), add_noise(bias, np.array([0, 1]))))
    return [new_conv_layer,
            BatchNormalization(),
            Activation("relu")]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: keras-team/autokeras
Commit Name: dacd89544ddaf1ab7e572850ebdec3dbaeda0ea0
Time: 2018-03-09
Author: jhfjhfj1@gmail.com
File Name: autokeras/layer_transformer.py
Class Name:
Method Name: deeper_conv_block


Project Name: jhfjhfj1/autokeras
Commit Name: dacd89544ddaf1ab7e572850ebdec3dbaeda0ea0
Time: 2018-03-09
Author: jhfjhfj1@gmail.com
File Name: autokeras/layer_transformer.py
Class Name:
Method Name: deeper_conv_block


Project Name: keras-team/autokeras
Commit Name: dacd89544ddaf1ab7e572850ebdec3dbaeda0ea0
Time: 2018-03-09
Author: jhfjhfj1@gmail.com
File Name: autokeras/layer_transformer.py
Class Name:
Method Name: dense_to_deeper_layer