df2b27fb7a733873c267561ff6048af2ec347d02,gluon/models/resnet.py,ResUnitV1,__init__,#ResUnitV1#Any#Any#Any#Any#,121
Before Change
in_channels=in_channels,
out_channels=out_channels,
strides=strides)
if self.resize_identity:
self.resize_conv = res_conv1x1(
in_channels=in_channels,
out_channels=out_channels,
strides=strides)
self.activ = nn.Activation("relu")
def hybrid_forward(self, F, x):
if self.resize_identity:
After Change
out_channels=mid_channels,
strides=(strides if conv1_stride else 1),
activate=True)
self.conv2 = res_conv3x3(
in_channels=mid_channels,
out_channels=mid_channels,
strides=(1 if conv1_stride else strides),
activate=True)
self.conv3 = res_conv1x1(
in_channels=mid_channels,
out_channels=out_channels,
strides=1,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: osmr/imgclsmob
Commit Name: df2b27fb7a733873c267561ff6048af2ec347d02
Time: 2018-07-28
Author: osemery@gmail.com
File Name: gluon/models/resnet.py
Class Name: ResUnitV1
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: aa21df4767b8dd1bdcb1a2ee6303591c733f798e
Time: 2018-07-30
Author: osemery@gmail.com
File Name: gluon/models/resnet.py
Class Name: ResBottleneck
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: aa21df4767b8dd1bdcb1a2ee6303591c733f798e
Time: 2018-07-30
Author: osemery@gmail.com
File Name: gluon/models/preresnet.py
Class Name: PreResUnit
Method Name: __init__