7b3d8ddb7961c7704c13524fdd0a789da41bd1c7,pytorch/pytorchcv/models/others/oth_msdnet2.py,Transition,__init__,#Transition#Any#Any#Any#Any#Any#,493

Before Change


        super(Transition, self).__init__()

        // Define a parallel stream for the different scales
        self.scale_nets = nn.ModuleList()
        for i in range(out_scales):
            in_channels_i = in_channels * growth_factor[offset + i]
            out_channels_i = out_channels * growth_factor[offset + i]
            self.scale_nets.append(conv1x1_block(

After Change


        for i in range(out_scales):
            in_channels_i = in_channels * growth_factor[offset + i]
            out_channels_i = out_channels * growth_factor[offset + i]
            self.scale_blocks.add_module("scale_block{}".format(i + 1), conv1x1_block(
                in_channels=in_channels_i,
                out_channels=out_channels_i,
                bias=True))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: osmr/imgclsmob
Commit Name: 7b3d8ddb7961c7704c13524fdd0a789da41bd1c7
Time: 2019-01-17
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_msdnet2.py
Class Name: Transition
Method Name: __init__


Project Name: osmr/imgclsmob
Commit Name: 09a72bb3d7ba47a62081b9b6b039fcd47a6da11d
Time: 2019-02-20
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/espnetv2.py
Class Name: ESPBlock
Method Name: __init__


Project Name: osmr/imgclsmob
Commit Name: 6c6a2e1f18822ecdb5243cf7ccfb1b21162e890a
Time: 2019-01-17
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_msdnet2.py
Class Name: MSDFirstLayer
Method Name: __init__