Skip to content

Commit 66da80c

Browse files
authored
typo fix in readme
typo fix, Under kNN-Graph, it should be **k** *(int)*: The number of neighbors instead of **r** *(float)*: The radius.
1 parent 69d3dc2 commit 66da80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Computes graph edges to the nearest *k* points.
164164
**Args:**
165165

166166
* **x** *(Tensor)*: Node feature matrix of shape `[N, F]`.
167-
* **r** *(float)*: The radius.
167+
* **k** *(int)*: The number of neighbors.
168168
* **batch** *(LongTensor, optional)*: Batch vector of shape `[N]`, which assigns each node to a specific example. `batch` needs to be sorted. (default: `None`)
169169
* **loop** *(bool, optional)*: If `True`, the graph will contain self-loops. (default: `False`)
170170
* **flow** *(string, optional)*: The flow direction when using in combination with message passing (`"source_to_target"` or `"target_to_source"`). (default: `"source_to_target"`)

0 commit comments

Comments
 (0)