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 cd250a6 commit fed36b1Copy full SHA for fed36b1
torch_cluster/functions/grid.py
@@ -3,7 +3,7 @@
3
from .utils import get_func, consecutive
4
5
6
-def grid_cluster(position, size, batch=None, fake_nodes=False, offset=None):
+def grid_cluster(position, size, batch=None, offset=None, fake_nodes=False):
7
# Allow one-dimensional positions.
8
if position.dim() == 1:
9
position = position.unsqueeze(-1)
0 commit comments