You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GraphNeuralNetworks/docs/src/home.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# GraphNeuralNetworks
2
2
3
-
This is the documentation page for [GraphNeuralNetworks.jl](https://github.com/JuliaGraphs/GraphNeuralNetworks.jl), a graph neural network library written in Julia and based on the deep learning framework [Flux.jl](https://github.com/FluxML/Flux.jl).
4
-
GraphNeuralNetworks.jl is largely inspired by [PyTorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/), [Deep Graph Library](https://docs.dgl.ai/),
5
-
and [GeometricFlux.jl](https://fluxml.ai/GeometricFlux.jl/stable/).
3
+
GraphNeuralNetworks.jl is a graph neural network package based on the deep learning framework [Flux.jl](https://github.com/FluxML/Flux.jl).
4
+
5
+
It provides a set of stateful graph convolutional layers and utilities to build graph neural networks.
6
6
7
7
Among its features:
8
8
@@ -11,15 +11,15 @@ Among its features:
11
11
* Easy to define custom layers.
12
12
* CUDA support.
13
13
* Integration with [Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl).
14
-
*[Examples](https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/tree/master/examples) of node, edge, and graph level machine learning tasks.
14
+
*[Examples](https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/tree/master/GraphNeuralNetworks/examples) of node, edge, and graph level machine learning tasks.
15
+
* Heterogeneous and temporal graphs.
15
16
16
17
17
18
## Package overview
18
19
19
-
Let's give a brief overview of the package by solving a
20
-
graph regression problem with synthetic data.
20
+
Let's give a brief overview of the package by solving a graph regression problem with synthetic data.
21
21
22
-
Usage examples on real datasets can be found in the [examples](https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/tree/master/examples) folder.
22
+
Usage examples on real datasets can be found in the [examples](https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/tree/master/GraphNeuralNetworks/examples) folder.
23
23
24
24
### Data preparation
25
25
@@ -33,8 +33,8 @@ all_graphs = GNNGraph[]
33
33
34
34
for _ in1:1000
35
35
g =rand_graph(10, 40,
36
-
ndata=(; x =randn(Float32, 16,10)), #input node features
37
-
gdata=(; y =randn(Float32))) #regression target
36
+
ndata=(; x =randn(Float32, 16,10)), #Input node features
37
+
gdata=(; y =randn(Float32))) #Regression target
38
38
push!(all_graphs, g)
39
39
end
40
40
```
@@ -50,7 +50,7 @@ model = GNNChain(GCNConv(16 => 64),
50
50
BatchNorm(64), # Apply batch normalization on node features (nodes dimension is batch dimension)
51
51
x ->relu.(x),
52
52
GCNConv(64=>64, relu),
53
-
GlobalPool(mean), #aggregate node-wise features into graph-wise features
53
+
GlobalPool(mean), #Aggregate node-wise features into graph-wise features
0 commit comments