26632d5326ff13389855262188c47eaa8690a4e8,models/resnet.py,Bottleneck,__init__,#Bottleneck#Any#Any#Any#Any#,67

Before Change


        super().__init__()
        self.conv1 = nn.Conv3d(inplanes, planes, kernel_size=1, bias=False)
        self.bn1 = nn.BatchNorm3d(planes)
        self.conv2 = nn.Conv3d(
            planes, planes, kernel_size=3, stride=stride, padding=1, bias=False)
        self.bn2 = nn.BatchNorm3d(planes)
        self.conv3 = nn.Conv3d(planes, planes * 4, kernel_size=1, bias=False)
        self.bn3 = nn.BatchNorm3d(planes * 4)
        self.relu = nn.ReLU(inplace=True)

After Change



        self.conv1 = nn.Conv3d(inplanes, planes, kernel_size=1, bias=False)
        self.bn1 = nn.BatchNorm3d(planes)
        self.conv2 = conv3x3x3(planes, planes, stride)
        self.bn2 = nn.BatchNorm3d(planes)
        self.conv3 = nn.Conv3d(
            planes, planes * self.expansion, kernel_size=1, bias=False)
        self.bn3 = nn.BatchNorm3d(planes * self.expansion)
        self.relu = nn.ReLU(inplace=True)
        self.downsample = downsample
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: kenshohara/3D-ResNets-PyTorch
Commit Name: 26632d5326ff13389855262188c47eaa8690a4e8
Time: 2018-11-12
Author: kensho.hara@aist.go.jp
File Name: models/resnet.py
Class Name: Bottleneck
Method Name: __init__


Project Name: kenshohara/3D-ResNets-PyTorch
Commit Name: deb96ba716906aa187c714654734bb0a5604de58
Time: 2018-11-12
Author: kensho.hara@aist.go.jp
File Name: models/resnet.py
Class Name: Bottleneck
Method Name: __init__


Project Name: kenshohara/3D-ResNets-PyTorch
Commit Name: deb96ba716906aa187c714654734bb0a5604de58
Time: 2018-11-12
Author: kensho.hara@aist.go.jp
File Name: models/pre_act_resnet.py
Class Name: PreActivationBottleneck
Method Name: __init__


Project Name: kenshohara/3D-ResNets-PyTorch
Commit Name: 26632d5326ff13389855262188c47eaa8690a4e8
Time: 2018-11-12
Author: kensho.hara@aist.go.jp
File Name: models/pre_act_resnet.py
Class Name: PreActivationBottleneck
Method Name: __init__