58e8ae4db6624b2ef6a8cbc08398828eb306ce9d,pytorch/pytorchcv/models/others/oth_msdnet2.py,MSDLayer,convolve,#MSDLayer#Any#Any#Any#Any#Any#,351
Before Change
raise NotImplementedError
conv.add_module("BN_out", nn.BatchNorm2d(out_channels))
conv.add_module("ReLU_out", nn.ReLU(inplace=True))
return conv
def forward(self, x):
After Change
// Bottleneck before the convolution
if bottleneck:
tmp_channels = int(min([in_channels, bn_width * out_channels]))
conv.add_module("Bottleneck", conv1x1_block(
in_channels=in_channels,
out_channels=tmp_channels,
bias=True))
if conv_type == "normal":
conv.add_module("Spatial_forward", conv3x3_block(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: osmr/imgclsmob
Commit Name: 58e8ae4db6624b2ef6a8cbc08398828eb306ce9d
Time: 2019-01-16
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_msdnet2.py
Class Name: MSDLayer
Method Name: convolve
Project Name: osmr/imgclsmob
Commit Name: 24d55af991a8cb8faeeabcb7838f472986d8fa4b
Time: 2019-01-31
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_dla2.py
Class Name: Root
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 24d55af991a8cb8faeeabcb7838f472986d8fa4b
Time: 2019-01-31
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_dla2.py
Class Name: SimpleBlock
Method Name: __init__