Files
mlx-examples/gcn
Awni Hannun f45a1ab83c Update a few examples to use compile (#420)
* update a few examples to use compile

* update mnist

* add compile to vae and rename some stuff for simplicity

* update reqs

* use state in eval

* GCN example with RNG + dropout

* add a bit of prefetching
2024-02-08 13:00:41 -08:00
..
2023-12-11 23:10:46 +01:00
2023-12-11 17:48:07 +01:00
2023-12-11 23:10:46 +01:00
2023-12-11 23:10:46 +01:00

Graph Convolutional Network

An example of GCN implementation with MLX.

Install requirements

First, install the few dependencies with pip.

pip install -r requirements.txt

Run

To try the model, just run the main.py file. This will download the Cora dataset, run the training and testing.

python main.py