90fcbc6bc311bab0454ba03f0ba8fb8717460d19,chainer_/chainercv2/models/senet.py,SENet,__init__,#SENet#Any#Any#Any#Any#Any#Any#,211
Before Change
setattr(self.output, "flatten", partial(
F.reshape,
shape=(-1, in_channels)))
setattr(self.output, "dropout", partial(
F.dropout,
ratio=0.2))
setattr(self.output, "fc", L.Linear(
in_size=in_channels,
out_size=classes))
After Change
in_channels=in_channels,
out_channels=init_block_channels))
in_channels = init_block_channels
for i, channels_per_stage in enumerate(channels):
stage = SimpleSequential()
identity_conv3x3 = (i != 0)
with stage.init_scope():
for j, out_channels in enumerate(channels_per_stage):
stride = 2 if (j == 0) and (i != 0) else 1
setattr(stage, "unit{}".format(j + 1), SENetUnit(
in_channels=in_channels,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: osmr/imgclsmob
Commit Name: 90fcbc6bc311bab0454ba03f0ba8fb8717460d19
Time: 2018-10-29
Author: osemery@gmail.com
File Name: chainer_/chainercv2/models/senet.py
Class Name: SENet
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 90fcbc6bc311bab0454ba03f0ba8fb8717460d19
Time: 2018-10-29
Author: osemery@gmail.com
File Name: chainer_/chainercv2/models/squeezenet.py
Class Name: SqueezeNet
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 90fcbc6bc311bab0454ba03f0ba8fb8717460d19
Time: 2018-10-29
Author: osemery@gmail.com
File Name: chainer_/chainercv2/models/darknet.py
Class Name: DarkNet
Method Name: __init__