We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0b02a commit facc695Copy full SHA for facc695
1 file changed
dect/fect.py
@@ -36,8 +36,8 @@ def bincount(idx, resolution):
36
def fast_ect(x, v):
37
"""Fast ECT for point clouds."""
38
resolution = v.shape[1]
39
- nh = ((torch.matmul(x, v) + 1) * (resolution // 2)).to(torch.uint16)
40
- return bincount(nh, resolution)
+ nh = ((torch.matmul(x, v) + 1) * (resolution // 2)).to(torch.uint32)
+ return bincount(nh, resolution), nh
41
42
43
def fast_ect_edges(x, ei, v):
0 commit comments