6bd60eac3262bc36569a6cf5e67f2e2f70dd9704,mmdet/ops/dcn/functions/modulated_dcn_func.py,ModulatedDeformConvFunction,backward,#ModulatedDeformConvFunction#Any#,36

Before Change


        input, offset, mask, weight, bias = self.saved_tensors
        grad_input = input.new(*input.size()).zero_()
        grad_offset = offset.new(*offset.size()).zero_()
        grad_mask = mask.new(*mask.size()).zero_()
        grad_weight = weight.new(*weight.size()).zero_()
        grad_bias = bias.new(*bias.size()).zero_()
        _backend.modulated_deform_conv_cuda_backward(
            input, weight, bias, self._bufs[0], offset, mask, self._bufs[1],

After Change


        input, offset, mask, weight, bias = ctx.saved_tensors
        grad_input = torch.zeros_like(input)
        grad_offset = torch.zeros_like(offset)
        grad_mask = torch.zeros_like(mask)
        grad_weight = torch.zeros_like(weight)
        grad_bias = torch.zeros_like(bias)
        _backend.modulated_deform_conv_cuda_backward(
            input, weight, bias, ctx._bufs[0], offset, mask, ctx._bufs[1],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: open-mmlab/mmdetection
Commit Name: 6bd60eac3262bc36569a6cf5e67f2e2f70dd9704
Time: 2019-01-15
Author: yhcao6@gmail.com
File Name: mmdet/ops/dcn/functions/modulated_dcn_func.py
Class Name: ModulatedDeformConvFunction
Method Name: backward


Project Name: open-mmlab/mmdetection
Commit Name: 6bd60eac3262bc36569a6cf5e67f2e2f70dd9704
Time: 2019-01-15
Author: yhcao6@gmail.com
File Name: mmdet/ops/dcn/functions/modulated_dcn_func.py
Class Name: DeformRoIPoolingFunction
Method Name: backward


Project Name: open-mmlab/mmdetection
Commit Name: 6bd60eac3262bc36569a6cf5e67f2e2f70dd9704
Time: 2019-01-15
Author: yhcao6@gmail.com
File Name: mmdet/ops/dcn/functions/modulated_dcn_func.py
Class Name: ModulatedDeformConvFunction
Method Name: backward


Project Name: open-mmlab/mmdetection
Commit Name: 6bd60eac3262bc36569a6cf5e67f2e2f70dd9704
Time: 2019-01-15
Author: yhcao6@gmail.com
File Name: mmdet/ops/dcn/functions/deform_conv.py
Class Name: DeformConvFunction
Method Name: backward


Project Name: kymatio/kymatio
Commit Name: d51512dcf397a6b6a70fe46885f1b5acd45205b3
Time: 2018-11-21
Author: edouard.oyallon@centralesupelec.fr
File Name: scattering/scattering2d/utils.py
Class Name: Modulus
Method Name: __call__