Skip to content

Commit

Permalink
Clean logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-chaulet committed May 14, 2020
1 parent a5d6145 commit d1132d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpu/src/ball_query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,9 @@ std::pair<at::Tensor, at::Tensor> ball_query(at::Tensor support, at::Tensor quer

at::Tensor degree(at::Tensor row, int64_t num_nodes)
{
std::cout << "-- Start degree" << std::endl;
std::cout << "Num nodes " << num_nodes << std::endl;
auto zero = at::zeros(num_nodes, row.options());
std::cout << "Row size " << row.size(0) << std::endl;
auto one = at::ones(row.size(0), row.options());
auto out = zero.scatter_add_(0, row, one);
std::cout << "-- End degree" << std::endl;
return out;
}

Expand Down

0 comments on commit d1132d0

Please sign in to comment.