752e09347e20c373e03ce037862f0df0833be871,gluon/models/nasnet.py,DualPathSequential,hybrid_forward,#DualPathSequential#Any#Any#Any#,39

Before Change


        length = len(self._children.values())
        for i, block in enumerate(self._children.values()):
            if (i < self.first_ordinals) or (i >= length - self.last_ordinals):
                x, x_prev = block(x), x
            else:
                x, x_prev = self._dual_path_response(block, x, x_prev)
        if self.return_two:
            return x, x_prev

After Change


                 strides=2,
                 padding=1,
                 **kwargs):
        super(AvgPoolPad, self).__init__(**kwargs)
        with self.name_scope():
            self.pool = nn.AvgPool2D(
                pool_size=3,
                strides=strides,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: osmr/imgclsmob
Commit Name: 752e09347e20c373e03ce037862f0df0833be871
Time: 2018-08-28
Author: osemery@gmail.com
File Name: gluon/models/nasnet.py
Class Name: DualPathSequential
Method Name: hybrid_forward


Project Name: analysiscenter/batchflow
Commit Name: 53f15232ed13154bc5338dc002b43c3c62547ea7
Time: 2017-11-12
Author: rhudor@gmail.com
File Name: dataset/models/tf/vgg.py
Class Name: VGG
Method Name: body


Project Name: osmr/imgclsmob
Commit Name: 810dfd93e2681625e932dc7c7f4c59352bab4bd3
Time: 2019-03-06
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_irevnet2.py
Class Name: iRevNet
Method Name: forward