1d7b7345ab3254ed9b450dbd4208a3d63cb4963f,dataset/models/tf/linknet.py,LinkNet,_build,#LinkNet#,17

Before Change


            layout_transpose = "tna" if b_norm else "ta"

            net = conv_block(dim, net, 32, 3, layout_transpose, "output_conv_1", 2, **kwargs)
            net = conv_block(dim, net, 32, 3, layout, "output_conv_2", **kwargs)
            net = conv_block(dim, net, n_classes, 2, "t", "output_conv_3", 2, **kwargs)

        logits = tf.identity(net, "predictions")
        tf.nn.softmax(logits, name="predicted_prob")

After Change


                net = self.downsampling_block(dim, net, filters, "downsampling-"+str(i), enable_batch_norm, **kwargs)
                encoder_output.append(net)

            for i, filters in enumerate(linknet_filters[::-1][1:]):
                net = self.upsampling_block(dim, net, filters, "upsampling-"+str(i), enable_batch_norm, **kwargs)
                net = tf.add(net, encoder_output[-2-i])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: analysiscenter/batchflow
Commit Name: 1d7b7345ab3254ed9b450dbd4208a3d63cb4963f
Time: 2017-11-09
Author: a.kozhevin@analysiscenter.ru
File Name: dataset/models/tf/linknet.py
Class Name: LinkNet
Method Name: _build


Project Name: analysiscenter/batchflow
Commit Name: b16131429ff9ad2952b44d9ba514d6811e98c6cf
Time: 2019-08-05
Author: d.mylzenova@analysiscenter.org
File Name: batchflow/models/tf/mobilenet.py
Class Name: MobileNet_v2
Method Name: block


Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception.py
Class Name: Inception_v1
Method Name: body