b2074ddf9d8bc2069d66976fea58a52f40238496,pretrainedmodels/nasnet.py,CellStem1,forward,#CellStem1#Any#Any#,120

Before Change


        x_left = torch.cat([x_left_0, x_left_1], 1)
        x_left = self.bn_left(x_left)

        x_right = F.relu(x_right)
        x_right = self.conv_right(x_right)
        x_right = self.bn_right(x_right)

        x_comb_iter_0_left = self.comb_iter_0_left(x_right)
        x_comb_iter_0_right = self.comb_iter_0_right(x_left)

After Change


        x_path2 = self.path_2.avgpool(x_path2)
        x_path2 = self.path_2.conv(x_path2)
        // final path
        x_right = self.final_path_bn(torch.cat([x_path1, x_path2], 1))

        x_comb_iter_0_left = self.comb_iter_0_left(x_left)
        x_comb_iter_0_right = self.comb_iter_0_right(x_right)
        x_comb_iter_0 = x_comb_iter_0_left + x_comb_iter_0_right

        x_comb_iter_1_left = self.comb_iter_1_left(x_left)
        x_comb_iter_1_right = self.comb_iter_1_right(x_right)
        x_comb_iter_1 = x_comb_iter_1_left + x_comb_iter_1_right

        x_comb_iter_2_left = self.comb_iter_2_left(x_left)
        x_comb_iter_2_right = self.comb_iter_2_right(x_right)
        x_comb_iter_2 = x_comb_iter_2_left + x_comb_iter_2_right

        x_comb_iter_3_right = self.comb_iter_3_right(x_comb_iter_0)
        x_comb_iter_3 = x_comb_iter_3_right + x_comb_iter_1

        x_comb_iter_4_left = self.comb_iter_4_left(x_comb_iter_0)
        x_comb_iter_4_right = self.comb_iter_4_right(x_left)
        x_comb_iter_4 = x_comb_iter_4_left + x_comb_iter_4_right

        x_out = torch.cat([x_comb_iter_1, x_comb_iter_2, x_comb_iter_3, x_comb_iter_4], 1)
        return x_out


class FirstCell(nn.Module):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: Cadene/pretrained-models.pytorch
Commit Name: b2074ddf9d8bc2069d66976fea58a52f40238496
Time: 2017-11-16
Author: remi.cadene@icloud.com
File Name: pretrainedmodels/nasnet.py
Class Name: CellStem1
Method Name: forward


Project Name: HyperGAN/HyperGAN
Commit Name: 7089233eb8fe6aaf06575d48c8ad6642faa579ec
Time: 2020-07-01
Author: mikkel@255bits.com
File Name: hypergan/train_hooks/adversarial_norm_train_hook.py
Class Name: AdversarialNormTrainHook
Method Name: forward


Project Name: mortendahl/tf-encrypted
Commit Name: 7272af90d4f5916f61f8bc5660e5605e730bbd78
Time: 2019-07-16
Author: suriyaku@gmail.com
File Name: examples/securenn/network_a.py
Class Name:
Method Name:


Project Name: sankit1/cv-tricks.com
Commit Name: db4fc0e5816a504a87e4a2a603b065c179406a04
Time: 2020-12-22
Author: kanchan@aimonk.com
File Name: xnornet_plusplus/models/resnet_preact_bin.py
Class Name: ResNet
Method Name: _forward_impl