53f15232ed13154bc5338dc002b43c3c62547ea7,dataset/models/tf/unet.py,UNet,body,#Any#Any#Any#Any#,57

Before Change


                x = cls.downsampling_block(dim, x, ifilters, "downsampling-"+str(i), **kwargs)
                encoder_outputs.append(x)

            x = conv_block(dim, x, filters[-1]//2, 2, "t", "middle", strides=2, **kwargs)

            axis = -1 if kwargs["data_format"] == "channels_last" else 1
            for i, ifilters in enumerate(filters[::-1][1:]):
                x = tf.concat([encoder_outputs[-i-2], x], axis=axis)

After Change


                encoder_outputs.append(x)

            for i, ifilters in enumerate(filters[::-1]):
                x = cls.upsampling_block((x, encoder_outputs[-i-2]), ifilters//2, name="upsampling-"+str(i), **kwargs)

        return x
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: analysiscenter/batchflow
Commit Name: 53f15232ed13154bc5338dc002b43c3c62547ea7
Time: 2017-11-12
Author: rhudor@gmail.com
File Name: dataset/models/tf/unet.py
Class Name: UNet
Method Name: body


Project Name: analysiscenter/batchflow
Commit Name: 5bfdba356f31723366a17dbc2421f345c9273199
Time: 2017-11-28
Author: rhudor@gmail.com
File Name: dataset/models/tf/resnet.py
Class Name: ResNet
Method Name: block


Project Name: analysiscenter/batchflow
Commit Name: 53f15232ed13154bc5338dc002b43c3c62547ea7
Time: 2017-11-12
Author: rhudor@gmail.com
File Name: dataset/models/tf/unet.py
Class Name: UNet
Method Name: upsampling_block