3fdd041cd7f4bd6fc877bac22b28448ae738033d,mmdet/models/backbones/resnet.py,Bottleneck,__init__,#Bottleneck#Any#Any#Any#Any#Any#Any#Any#Any#,75

Before Change


            dilation=dilation,
            bias=False)

        norm_layers = []
        norm_layers.append(build_norm_layer(normalize, planes))
        norm_layers.append(build_norm_layer(normalize, planes))
        norm_layers.append(build_norm_layer(normalize, planes*self.expansion))
        self.norm_names = (["gn1", "gn2", "gn3"] if normalize["type"] == "GN"
                           else ["bn1", "bn2", "bn3"])
        for name, layer in zip(self.norm_names, norm_layers):
            self.add_module(name, layer)

After Change


                                             postfix=3)
        self.add_module(self.norm1, norm1)
        self.add_module(self.norm2, norm2)
        self.add_module(self.norm3, norm3)

        self.conv3 = nn.Conv2d(
            planes, planes * self.expansion, kernel_size=1, bias=False)
        self.relu = nn.ReLU(inplace=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: open-mmlab/mmdetection
Commit Name: 3fdd041cd7f4bd6fc877bac22b28448ae738033d
Time: 2019-01-01
Author: thangvubk@gmail.com
File Name: mmdet/models/backbones/resnet.py
Class Name: Bottleneck
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: 3fdd041cd7f4bd6fc877bac22b28448ae738033d
Time: 2019-01-01
Author: thangvubk@gmail.com
File Name: mmdet/models/backbones/resnet.py
Class Name: Bottleneck
Method Name: __init__


Project Name: reinforceio/tensorforce
Commit Name: 62cea7fcfcc9e20b784e08bddce5dc69b9578ef4
Time: 2019-01-05
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/baselines/cnn_baseline.py
Class Name: CNNBaseline
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: 3fdd041cd7f4bd6fc877bac22b28448ae738033d
Time: 2019-01-01
Author: thangvubk@gmail.com
File Name: mmdet/models/backbones/resnet.py
Class Name: BasicBlock
Method Name: __init__