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
bea734f1
Commit
bea734f1
authored
Nov 19, 2018
by
rusty1s
Browse files
typo
parent
548201c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
torch_cluster/radius.py
torch_cluster/radius.py
+2
-4
No files found.
torch_cluster/radius.py
View file @
bea734f1
...
@@ -72,10 +72,8 @@ def radius_graph(x, r, batch=None, max_num_neighbors=32):
...
@@ -72,10 +72,8 @@ def radius_graph(x, r, batch=None, max_num_neighbors=32):
Examples::
Examples::
>>> x = torch.Tensor([[-1, -1], [-1, 1], [1, -1], [1, 1]])
>>> x = torch.Tensor([[-1, -1], [-1, 1], [1, -1], [1, 1]])
>>> batch_x = torch.Tensor([0, 0, 0, 0])
>>> batch = torch.Tensor([0, 0, 0, 0])
>>> y = torch.Tensor([[-1, 0], [1, 0]])
>>> out = radius_graph(x, 1.5, batch)
>>> batch_x = torch.Tensor([0, 0])
>>> out = radius(x, y, 1.5, batch_x, batch_y)
"""
"""
edge_index
=
radius
(
x
,
x
,
r
,
batch
,
batch
,
max_num_neighbors
+
1
)
edge_index
=
radius
(
x
,
x
,
r
,
batch
,
batch
,
max_num_neighbors
+
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