88406aa4390710a54ffafd30c19662074ceee0cb,pointnet2/utils/pointnet2_utils.py,ThreeInterpolate,backward,#Any#Any#,201

Before Change


        idx, weight, m = ctx.three_interpolate_for_backward
        B, c, n = grad_out.size()

        grad_features = Variable(torch.cuda.FloatTensor(B, c, m).zero_())

        grad_out_data = grad_out.data.contiguous()
        pointnet2.three_interpolate_grad_wrapper(
            B, c, n, m, grad_out_data, idx, weight, grad_features.data

After Change


        
        idx, weight, m = ctx.three_interpolate_for_backward

        grad_features = _ext.three_interpolate_grad(grad_out.contiguous(), idx,
                                                    weight, m)

        return grad_features, None, None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: 88406aa4390710a54ffafd30c19662074ceee0cb
Time: 2019-01-12
Author: ewijmans2@gmail.com
File Name: pointnet2/utils/pointnet2_utils.py
Class Name: ThreeInterpolate
Method Name: backward


Project Name: open-mmlab/mmdetection
Commit Name: 3f412c3967b314d47ad1d0127d917f3890270cf3
Time: 2018-12-09
Author: chenkaidev@gmail.com
File Name: mmdet/ops/roi_align/functions/roi_align.py
Class Name: RoIAlignFunction
Method Name: backward


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: 88406aa4390710a54ffafd30c19662074ceee0cb
Time: 2019-01-12
Author: ewijmans2@gmail.com
File Name: pointnet2/utils/pointnet2_utils.py
Class Name: GroupingOperation
Method Name: backward