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
f7e9e8fd
Unverified
Commit
f7e9e8fd
authored
Jun 04, 2019
by
Matthias Fey
Committed by
GitHub
Jun 04, 2019
Browse files
Update README.md
parent
e3c3b133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
f7e9e8fd
...
...
@@ -121,8 +121,8 @@ edge_index = knn_graph(x, k=2, batch=batch, loop=False)
```
print(edge_index)
tensor([[
0
, 0,
1, 1, 2, 2
, 3,
3
],
[
1, 2
, 0,
3, 0
, 3,
1, 2
]])
tensor([[
1, 2
, 0,
3, 0
, 3,
1, 2
],
[
0
, 0,
1, 1, 2, 2
, 3,
3
]])
```
## Radius-Graph
...
...
@@ -140,8 +140,8 @@ edge_index = radius_graph(x, r=1.5, batch=batch, loop=False)
```
print(edge_index)
tensor([[
0
, 0,
1, 1, 2, 2
, 3,
3
],
[
1, 2
, 0,
2, 0
, 3,
1, 2
]])
tensor([[
1, 2
, 0,
3, 0
, 3,
1, 2
],
[
0
, 0,
1, 1, 2, 2
, 3,
3
]])
```
## Nearest
...
...
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