fd55cf8ea1dd674fbe60ade84709fe5666dd9434,pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py,BallQuery,forward,#,245

Before Change


        torch.Tensor
            (B, npoint, nsample) tensor with the indicies of the features that form the query balls
        
        return _ext.ball_query(new_xyz, xyz, radius, nsample)

    @staticmethod
    def backward(ctx, a=None):
        return None, None, None, None

After Change


        torch.Tensor
            (B, npoint, nsample) tensor with the indicies of the features that form the query balls
        
        output = _ext.ball_query(new_xyz, xyz, radius, nsample)

        ctx.mark_non_differentiable(output)

        return output

    @staticmethod
    def backward(ctx, grad_out):
        return ()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: fd55cf8ea1dd674fbe60ade84709fe5666dd9434
Time: 2020-04-16
Author: etw@gatech.edu
File Name: pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py
Class Name: BallQuery
Method Name: forward


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: fd55cf8ea1dd674fbe60ade84709fe5666dd9434
Time: 2020-04-16
Author: etw@gatech.edu
File Name: pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py
Class Name: ThreeNN
Method Name: forward


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: fd55cf8ea1dd674fbe60ade84709fe5666dd9434
Time: 2020-04-16
Author: etw@gatech.edu
File Name: pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py
Class Name: FurthestPointSampling
Method Name: forward