f668123151812480874a573cddd71c25a20c14a4,pytorch/pytorchcv/models/others/oth_irevnet2.py,irevnet_block,inverse,#irevnet_block#Any#,138

Before Change


        if self.pad != 0 and self.stride == 1:
            x = merge(x1, x2)
            x = self.inj_pad.inverse(x)
            x1, x2 = split(x)
            x = (x1, x2)
        else:
            x = (x1, x2)
        return x

After Change


        if self.pad != 0 and self.stride == 1:
            x = torch.cat((x1, x2), dim=1)
            x = self.inj_pad.inverse(x)
            x1, x2 = torch.chunk(x, chunks=2, dim=1)
            x = (x1, x2)
        else:
            x = (x1, x2)
        return x
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: osmr/imgclsmob
Commit Name: f668123151812480874a573cddd71c25a20c14a4
Time: 2019-03-05
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_irevnet2.py
Class Name: irevnet_block
Method Name: inverse


Project Name: osmr/imgclsmob
Commit Name: 64038d6a64bba81d4c4233a133bc033457f5a99f
Time: 2018-12-09
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/ibnresnet.py
Class Name: IBN
Method Name: forward


Project Name: osmr/imgclsmob
Commit Name: 0168d5298ab0878818e44b311678ff683f5ee0e2
Time: 2019-03-04
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_irevnet2.py
Class Name: iRevNet
Method Name: inverse