8dc869c9450419461e671ac3e74a6893fa9c6572,gluon/gluoncv2/models/deeplabv3.py,DeepLabv3,hybrid_forward,#DeepLabv3#Any#Any#,142

Before Change


        x = self.backbone(x)
        x = self.pool(x)
        x = self.conv1(x)
        x = self.dropout(x)
        x = self.conv2(x)
        x = F.contrib.BilinearResize2D(x, height=self.in_size[0], width=self.in_size[1])
        return x


def get_deeplabv3(backbone,

After Change


                    bottleneck_factor=4)

    def hybrid_forward(self, F, x):
        in_size = self.in_size if self.fixed_size else x.shape[2:]
        x, y = self.backbone(x)
        x = self.pool(x)
        x = self.final_block(x, in_size)
        if self.aux:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: osmr/imgclsmob
Commit Name: 8dc869c9450419461e671ac3e74a6893fa9c6572
Time: 2019-04-01
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/deeplabv3.py
Class Name: DeepLabv3
Method Name: hybrid_forward


Project Name: stanfordnlp/stanza
Commit Name: 09d7bda36be8fe7ff22bc9f10e9650b12326c8ce
Time: 2018-06-30
Author: qipeng@noreply.github.com
File Name: models/tokenize/tokenizer_models.py
Class Name: RNNTokenizer
Method Name: forward


Project Name: NifTK/NiftyNet
Commit Name: 30dfa316d689a232c2e6deaa813827be52aba961
Time: 2017-09-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageGenerator
Method Name: layer_op