Commit bea734f1 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 548201c9
...@@ -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)
......
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