Skip to content

Conversation

@humanpose1
Copy link
Collaborator

Adding ball query for CPU.
WARNING : some modifications need to be done for the output of ball_query the output of my cpp function is different from yours.

@nicolas-chaulet nicolas-chaulet self-requested a review January 7, 2020 20:07
b = torch.tensor([[[0, 0, 0]]]).to(torch.float)
npt.assert_array_equal(ball_query(1, 2, a, b).detach().numpy(), np.array([[[0, 0]]]))

def test_cpu_gpu_equality(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :)

@nicolas-chaulet nicolas-chaulet merged commit 7138bb8 into torch-points3d:master Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants