43f8a18876892003563c0d47b683659b2dc18df0,src/networks.py,INSResBlock,__init__,#INSResBlock#Any#Any#Any#Any#,529

Before Change


  def __init__(self, inplanes, planes, stride=1, dropout=0.0):
    super(INSResBlock, self).__init__()
    model = []
    model += [self.conv3x3(inplanes, planes, stride)]
    model += [nn.InstanceNorm2d(planes)]
    model += [nn.ReLU(inplace=True)]
    model += [self.conv3x3(planes, planes)]
    model += [nn.InstanceNorm2d(planes)]

After Change


  def __init__(self, inplanes, planes, stride=1, dropout=0.0):
    super(INSResBlock, self).__init__()
    model = []
    model += self.conv3x3(inplanes, planes, stride)
    model += [nn.InstanceNorm2d(planes)]
    model += [nn.ReLU(inplace=True)]
    model += self.conv3x3(planes, planes)
    model += [nn.InstanceNorm2d(planes)]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HsinYingLee/DRIT
Commit Name: 43f8a18876892003563c0d47b683659b2dc18df0
Time: 2018-07-31
Author: hytseng0509@gmail.com
File Name: src/networks.py
Class Name: INSResBlock
Method Name: __init__


Project Name: HsinYingLee/DRIT
Commit Name: 43f8a18876892003563c0d47b683659b2dc18df0
Time: 2018-07-31
Author: hytseng0509@gmail.com
File Name: src/networks.py
Class Name:
Method Name: convMeanpool


Project Name: HsinYingLee/DRIT
Commit Name: 43f8a18876892003563c0d47b683659b2dc18df0
Time: 2018-07-31
Author: hytseng0509@gmail.com
File Name: src/networks.py
Class Name: BasicBlock
Method Name: __init__