dafdc9b5cb8fa4c65285aad22b1429549d06d71a,networks/resample2d_package/functions/resample2d.py,Resample2dFunction,backward,#Resample2dFunction#Any#,27

Before Change


        
        with torch.cuda.device_of(input1):
            b, c, h, w = input1.size()
            gradInput1 = input1.new().resize_(b,c,h,w).zero_()

            b, c, h, w = input2.size()
            gradInput2 = input2.new().resize_(b,c,h,w).zero_()

After Change


                                            grad_input1.data, grad_input2.data,
                                            ctx.kernel_size)

        return grad_input1, grad_input2, None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


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


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


Project Name: elbayadm/attn2d
Commit Name: 07eed27d9fa6f1feaf2d09ba25ff26a643e70b3a
Time: 2020-02-26
Author: myleott@fb.com
File Name: fairseq/search.py
Class Name: DiverseBeamSearch
Method Name: step