Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-cluster
Commits
fed36b1f
Commit
fed36b1f
authored
Feb 19, 2018
by
rusty1s
Browse files
argument order
parent
cd250a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_cluster/functions/grid.py
torch_cluster/functions/grid.py
+1
-1
No files found.
torch_cluster/functions/grid.py
View file @
fed36b1f
...
...
@@ -3,7 +3,7 @@ import torch
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.
if
position
.
dim
()
==
1
:
position
=
position
.
unsqueeze
(
-
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment