dafdc9b5cb8fa4c65285aad22b1429549d06d71a,networks/correlation_package/modules/correlation.py,Correlation,forward,#Correlation#,15

Before Change



    def forward(self, input1, input2):

        result = CorrelationFunction(self.pad_size, self.kernel_size, self.max_displacement,self.stride1, self.stride2, self.corr_multiply)(input1, input2)

        return result

After Change


        self.corr_multiply = corr_multiply

    def forward(self, input1, input2):
        return CorrelationFunction.apply(input1, input2, self.pad_size,
                                         self.kernel_size,
                                         self.max_displacement, self.stride1,
                                         self.stride2, self.corr_multiply)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: NVIDIA/flownet2-pytorch
Commit Name: dafdc9b5cb8fa4c65285aad22b1429549d06d71a
Time: 2018-02-04
Author: chenkaidev@gmail.com
File Name: networks/correlation_package/modules/correlation.py
Class Name: Correlation
Method Name: forward


Project Name: NVIDIA/flownet2-pytorch
Commit Name: dafdc9b5cb8fa4c65285aad22b1429549d06d71a
Time: 2018-02-04
Author: chenkaidev@gmail.com
File Name: networks/channelnorm_package/modules/channelnorm.py
Class Name: ChannelNorm
Method Name: forward


Project Name: NVIDIA/flownet2-pytorch
Commit Name: dafdc9b5cb8fa4c65285aad22b1429549d06d71a
Time: 2018-02-04
Author: chenkaidev@gmail.com
File Name: networks/resample2d_package/modules/resample2d.py
Class Name: Resample2d
Method Name: forward