eb6443ada2af9240e8f1826b43ef755736dd9b0b,pose/models/hourglass.py,HourglassNet,forward,#HourglassNet#,168

Before Change


                fc_ = self.fc_[i](x)
                score_ = self.score_[i](score)
                x = y + fc_ + score_
                y = x.clone()

        return out

def hg1(**kwargs):

After Change


        // y = x.clone()
        for i in range(self.num_stacks):
            y = self.hg[i](x)
            y = self.res[i](y)
            y = self.fc[i](y)
            score = self.score[i](y)
            out.append(score)
            if i < self.num_stacks-1:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: bearpaw/pytorch-pose
Commit Name: eb6443ada2af9240e8f1826b43ef755736dd9b0b
Time: 2017-05-29
Author: platero.yang@gmail.com
File Name: pose/models/hourglass.py
Class Name: HourglassNet
Method Name: forward


Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: d2c500803a9d7141a3933d0f4804d9635cd7bfc6
Time: 2018-12-13
Author: yanzhaoyi@outlook.com
File Name: models/soft_shift_net/innerSoftShiftTripleModule.py
Class Name: InnerSoftShiftTripleModule
Method Name: forward


Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: dc9aafd83851f7c55c6fe61702e281856ec023ca
Time: 2018-12-13
Author: yanzhaoyi@outlook.com
File Name: models/accelerated_shift_net/accelerated_InnerShiftTripleFunction.py
Class Name: AcceleratedInnerShiftTripleFunction
Method Name: forward