510fa3a99429cc363f13392fe7b7dc200d1418f1,cifar10/models/resnet.py,BasicBlock_noshortcut,__init__,#BasicBlock_noshortcut#,37
Before Change
super(BasicBlock_noshortcut, self).__init__()
self.conv1 = conv3x3(in_planes, planes, stride)
self.bn1 = nn.BatchNorm2d(planes)
self.conv2 = conv3x3(planes, planes)
self.bn2 = nn.BatchNorm2d(planes)
def forward(self, x):
out = F.relu(self.bn1(self.conv1(x)))
After Change
super(BasicBlock_noshortcut, self).__init__()
self.conv1 = nn.Conv2d(in_planes, planes, kernel_size=3, stride=stride, padding=1, bias=False)
self.bn1 = nn.BatchNorm2d(planes)
self.conv2 = nn.Conv2d(planes, planes, kernel_size=3, stride=1, padding=1, bias=False)
self.bn2 = nn.BatchNorm2d(planes)
def forward(self, x):
out = F.relu(self.bn1(self.conv1(x)))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: tomgoldstein/loss-landscape
Commit Name: 510fa3a99429cc363f13392fe7b7dc200d1418f1
Time: 2018-09-17
Author: haoli@cs.umd.edu
File Name: cifar10/models/resnet.py
Class Name: BasicBlock_noshortcut
Method Name: __init__
Project Name: tomgoldstein/loss-landscape
Commit Name: 510fa3a99429cc363f13392fe7b7dc200d1418f1
Time: 2018-09-17
Author: haoli@cs.umd.edu
File Name: cifar10/models/resnet.py
Class Name: WResNet_cifar
Method Name: __init__
Project Name: tomgoldstein/loss-landscape
Commit Name: 510fa3a99429cc363f13392fe7b7dc200d1418f1
Time: 2018-09-17
Author: haoli@cs.umd.edu
File Name: cifar10/models/resnet.py
Class Name: ResNet
Method Name: __init__
Project Name: tomgoldstein/loss-landscape
Commit Name: 510fa3a99429cc363f13392fe7b7dc200d1418f1
Time: 2018-09-17
Author: haoli@cs.umd.edu
File Name: cifar10/models/resnet.py
Class Name: ResNet_cifar
Method Name: __init__
Project Name: tomgoldstein/loss-landscape
Commit Name: 510fa3a99429cc363f13392fe7b7dc200d1418f1
Time: 2018-09-17
Author: haoli@cs.umd.edu
File Name: cifar10/models/resnet.py
Class Name: BasicBlock
Method Name: __init__