You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpu/src/bindings.cpp
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -9,41 +9,41 @@ PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
9
9
m.def("ball_query",
10
10
&ball_query,
11
11
"compute the radius search of a point cloud using nanoflann"
12
-
"-query : a pytorch tensor of size N1 x 3,. used to query the nearest neighbors"
13
-
"- support : a pytorch tensor of size N2 x 3. used to build the tree"
14
-
"- radius : float number, size of the ball for the radius search."
12
+
"- support : a pytorch tensor of size N1 x 3, points where the neighboors are accessed from"
13
+
"- query : a pytorch tensor of size N2 x 3, centre of the balls"
14
+
"- radius : float number, size of the ball for the radius search."
15
15
"- max_num : int number, indicate the maximum of neaghbors allowed(if -1 then all the possible neighbors will be computed). "
16
-
"- mode : int number that indicate which format for the neighborhood"
17
-
"mode=0 mean a matrix of neighbors(-1 for shadow neighbors)"
16
+
"- mode : int number that indicate which format for the neighborhood"
17
+
"mode=0 mean a matrix of neighbors(-1 for shadow neighbors)"
18
18
"mode=1 means a matrix of edges of size Num_edge x 2"
19
-
"return a tensor of size N1 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
"return a tensor of size N2 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
"compute the radius search of a point cloud for each batch using nanoflann"
25
-
"-query : a pytorch tensor (float) of size N1 x 3,. used to query the nearest neighbors"
26
-
"- support : a pytorch tensor(float) of size N2 x 3. used to build the tree"
27
-
"- query_batch : a pytorch tensor(long) contains indices of the batch of the query size N1"
28
-
"NB : the batch must be sorted"
29
-
"- support_batch: a pytorch tensor(long) contains indices of the batch of the support size N2"
25
+
"- support : a pytorch tensor of size N1 x 3, points where the neighboors are accessed from"
26
+
"- query : a pytorch tensor of size N2 x 3, centre of the balls"
27
+
"- support_batch: a pytorch tensor(long) contains indices of the batch of the support size N1"
30
28
"NB: the batch must be sorted"
29
+
"- query_batch : a pytorch tensor(long) contains indices of the batch of the query size N2"
30
+
"NB : the batch must be sorted"
31
31
"-radius: float number, size of the ball for the radius search."
32
32
"- max_num : int number, indicate the maximum of neaghbors allowed(if -1 then all the possible neighbors wrt the radius will be computed)."
33
33
"- mode : int number that indicate which format for the neighborhood"
34
-
"mode=0 mean a matrix of neighbors(N2 for shadow neighbors)"
34
+
"mode=0 mean a matrix of neighbors(N1 for shadow neighbors)"
35
35
"mode=1 means a matrix of edges of size Num_edge x 2"
36
-
"return a tensor of size N1 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
"return a tensor of size N2 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
"compute the radius search of a batch of point cloud using nanoflann"
40
-
"-query : a pytorch tensor of size B x N1 x 3,. used to query the nearest neighbors"
41
-
"- support : a pytorch tensor of size B x N2 x 3. used to build the tree"
42
-
"- radius : float number, size of the ball for the radius search."
40
+
"- support : a pytorch tensor of size B x N1 x 3, points where the neighboors are accessed from"
41
+
"- query : a pytorch tensor of size B x N2 x 3, centre of the balls"
42
+
"- radius : float number, size of the ball for the radius search."
43
43
"- max_num : int number, indicate the maximum of neaghbors allowed(if -1 then all the possible neighbors will be computed). "
44
-
"- mode : int number that indicate which format for the neighborhood"
45
-
"mode=0 mean a matrix of neighbors(-1 for shadow neighbors)"
44
+
"- mode : int number that indicate which format for the neighborhood"
45
+
"mode=0 mean a matrix of neighbors(-1 for shadow neighbors)"
46
46
"mode=1 means a matrix of edges of size Num_edge x 2"
47
-
"return a tensor of size N1 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
"return a tensor of size B x N2 x M where M is either max_num or the maximum number of neighbors found if mode = 0, if mode=1 return a tensor of size Num_edge x 2 and return a tensor containing the squared distance of the neighbors",
0 commit comments