Unverified Commit f7e9e8fd authored by Matthias Fey's avatar Matthias Fey Committed by GitHub
Browse files

Update README.md

parent e3c3b133
......@@ -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
......
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