2e5b28b3d9dde5865ffbdedceead869fccad9e93,models/SqueezeNet.py,SqueezeNet,forward,#SqueezeNet#Any#,87

Before Change


        x10 = self.conv10(x9)
        f = F.avg_pool2d(x10, x10.size()[2:]).view(x10.size(0), -1)

        if not self.training:
            return f

        y = self.classifier(f)

        if self.loss == {"xent"}:
            return y
        elif self.loss == {"xent", "htri"}:

After Change


        x9 = self.fire9(x8)
        if self.bypass:
            x9 = x9 + x8
        x9 = F.dropout(x9, training=self.training)
        x10 = F.relu(self.conv10(x9))
        f = F.avg_pool2d(x10, x10.size()[2:]).view(x10.size(0), -1)

        if self.loss == {"xent"}:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2e5b28b3d9dde5865ffbdedceead869fccad9e93
Time: 2018-04-28
Author: k.zhou@qmul.ac.uk
File Name: models/SqueezeNet.py
Class Name: SqueezeNet
Method Name: forward


Project Name: OpenNMT/OpenNMT-tf
Commit Name: dec0d570c7680b2b874fe3874f88869f7d2626bb
Time: 2017-07-28
Author: guillaume.klein@systrangroup.com
File Name: opennmt/embedders/text_embedder.py
Class Name: WordEmbedder
Method Name: _embed


Project Name: rusty1s/pytorch_geometric
Commit Name: d9421968d52736a2c1d84d26ef2c335a1be4511b
Time: 2019-05-22
Author: matthias.fey@tu-dortmund.de
File Name: examples/pointnet++_part_seg/pointnet2_part_seg.py
Class Name: PointNet2PartSegmentNet
Method Name: forward