827e12f3b9506e0f78cc79445441cd9d1f25c055,chainercv/links/model/yolo/yolov3.py,YOLOv3,__call__,#YOLOv3#Any#,55

Before Change


        hs = []
        for i, link in enumerate(self):
            h = link(h)
            if i in {35, 43, 51}:
                ys.append(h)

            if i in {14, 23, 33, 41}:
                hs.append(h)
            elif i in {35, 43}:
                h = hs.pop()

After Change



    def __call__(self, x):
        ys = []
        for h, link in zip(self.extractor(x), self.subnet):
            h = link(h)
            h = F.reshape(h, (h.shape[0], 3, 1 + 4 + self.n_fg_class, -1))
            h = F.transpose(h, (0, 3, 1, 2))
            ys.append(h)
        return F.concat(ys)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: chainer/chainercv
Commit Name: 827e12f3b9506e0f78cc79445441cd9d1f25c055
Time: 2018-04-24
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/links/model/yolo/yolov3.py
Class Name: YOLOv3
Method Name: __call__


Project Name: biotite-dev/biotite
Commit Name: 1675e2873db77528ef1dee6fc49aaccfca9a369b
Time: 2020-11-27
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/dotbracket.py
Class Name:
Method Name: dot_bracket


Project Name: pgmpy/pgmpy
Commit Name: c676395da1a5ca321ba75f6a8025eefa4b99483e
Time: 2017-10-04
Author: lohani.ayush01@gmail.com
File Name: pgmpy/models/ClusterGraph.py
Class Name: ClusterGraph
Method Name: get_cardinality