8d61eec76872ff31f38d0bd6b1eddb6338798623,src/models/decoder.py,,bottleneck,#Any#Any#Any#Any#,7

Before Change


        x = Convolution2D(internal, (3, 3), padding="same", use_bias=True)(x)
    else:
        b, w, h, nb_filters = encoder.get_shape().as_list()
        in_shape = x.get_shape().as_list()
        // x = Deconvolution2D(internal, 3, 3, output_shape=(None, w * 2, h * 2, internal), border_mode="same",
        //                     subsample=(2, 2), input_shape=in_shape)(x)
        x = Deconvolution2D(internal, (3, 3), padding="same", strides=(2, 2), input_shape=in_shape)(x)
    x = BatchNormalization(momentum=0.1)(x)

After Change


    if not upsample:
        x = Convolution2D(internal, (3, 3), padding="same", use_bias=True)(x)
    else:
        in_shape = K.int_shape(x)
        x = Deconvolution2D(internal, (3, 3), padding="same", strides=(2, 2), input_shape=in_shape)(x)
    x = BatchNormalization(momentum=0.1)(x)
    x = Activation("relu")(x)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PavlosMelissinos/enet-keras
Commit Name: 8d61eec76872ff31f38d0bd6b1eddb6338798623
Time: 2017-04-07
Author: pmelissi@iti.gr
File Name: src/models/decoder.py
Class Name:
Method Name: bottleneck


Project Name: bethgelab/foolbox
Commit Name: bca58bcd667cb671a0451c9f738768bc66cf85d9
Time: 2017-07-22
Author: wielandbrendel@users.noreply.github.com
File Name: foolbox/models/keras.py
Class Name: KerasModel
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 90a13a2b3057336bbff25ad8689cc298246ed775
Time: 2018-05-15
Author: francois.chollet@gmail.com
File Name: keras/utils/multi_gpu_utils.py
Class Name:
Method Name: multi_gpu_model