Commit e7a1a4eb authored by rusty1s's avatar rusty1s
Browse files

typo

parent 06d471ed
...@@ -17,7 +17,7 @@ This package consists of a small extension library of highly optimised graph clu ...@@ -17,7 +17,7 @@ This package consists of a small extension library of highly optimised graph clu
All included operations work on varying data types and are implemented both for CPU and GPU. All included operations work on varying data types and are implemented both for CPU and GPU.
The package consists of the following operations: The package consists of the following operations:
* **Graclus:** Greedy clustering algorithm of picking an unmarked vertex and matching it with one its unmarked neighbors (that maximizes its optionally edge weight). * **Graclus:** Greedy clustering algorithm of picking an unmarked vertex and matching it with one its unmarked neighbors (that maximizes its edge weight).
```python ```python
import torch import torch
......
...@@ -4,8 +4,7 @@ from .utils.ffi import graclus ...@@ -4,8 +4,7 @@ from .utils.ffi import graclus
def graclus_cluster(row, col, weight=None, num_nodes=None): def graclus_cluster(row, col, weight=None, num_nodes=None):
"""Greedy clustering algorithm of picking an unmarked vertex and matching """Greedy clustering algorithm of picking an unmarked vertex and matching
it with one its unmarked neighbors (that maximizes its optionally edge it with one its unmarked neighbors (that maximizes its edge weight).
weight).
Args: Args:
row (LongTensor): Source nodes. row (LongTensor): Source nodes.
......
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