a72a5b05d8edcde1e1bbb808ed26d5c858b112d5,gluon/models/dpn.py,DPN,hybrid_forward,#DPN#Any#Any#,402

Before Change


        else:
            x = adaptive_avgmax_pool2d(x, pool_type="avg")
            x = self.output(x)
        x = x.view(x.size(0), -1)
        return x


def get_dpn(num_layers,

After Change


        else:
            x = adaptive_avgmax_pool2d(x, pool_type="avg")
            x = self.output(x)
        x = F.flatten(x)
        return x


def get_dpn(num_layers,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: osmr/imgclsmob
Commit Name: a72a5b05d8edcde1e1bbb808ed26d5c858b112d5
Time: 2018-08-27
Author: osemery@gmail.com
File Name: gluon/models/dpn.py
Class Name: DPN
Method Name: hybrid_forward


Project Name: osmr/imgclsmob
Commit Name: 486abdc99be79731b1db0b18e5b9cb072300ab09
Time: 2019-05-21
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/ntsnet.py
Class Name: NavigatorBranch
Method Name: forward


Project Name: gpleiss/efficient_densenet_pytorch
Commit Name: cdb4366d6dd3b727aece1be54f3c398f097645ec
Time: 2020-01-10
Author: aneeshnema@gmail.com
File Name: models/densenet.py
Class Name: DenseNet
Method Name: forward