Commit fed36b1f authored by rusty1s's avatar rusty1s
Browse files

argument order

parent cd250a63
...@@ -3,7 +3,7 @@ import torch ...@@ -3,7 +3,7 @@ import torch
from .utils import get_func, consecutive from .utils import get_func, consecutive
def grid_cluster(position, size, batch=None, fake_nodes=False, offset=None): def grid_cluster(position, size, batch=None, offset=None, fake_nodes=False):
# Allow one-dimensional positions. # Allow one-dimensional positions.
if position.dim() == 1: if position.dim() == 1:
position = position.unsqueeze(-1) position = position.unsqueeze(-1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment