Skip to content

Commit a1cbfa4

Browse files
cleanup
1 parent 44baf44 commit a1cbfa4

File tree

4 files changed

+42
-532
lines changed

4 files changed

+42
-532
lines changed

ext/GraphNeuralNetworksCUDAExt.jl

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/GraphNeuralNetworks.jl

Lines changed: 42 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -11,90 +11,59 @@ using ChainRulesCore
1111
using Reexport
1212
using DataStructures: nlargest
1313
using MLUtils: zeros_like
14-
using GNNlib: GNNlib
1514

16-
@reexport using GNNGraphs
1715
using GNNGraphs: COO_T, ADJMAT_T, SPARSE_T,
1816
check_num_nodes, check_num_edges,
1917
EType, NType # for heteroconvs
2018

21-
export
22-
# utils
23-
reduce_nodes,
24-
reduce_edges,
25-
softmax_nodes,
26-
softmax_edges,
27-
broadcast_nodes,
28-
broadcast_edges,
29-
softmax_edge_neighbors,
30-
31-
# msgpass
32-
apply_edges,
33-
aggregate_neighbors,
34-
propagate,
35-
copy_xj,
36-
copy_xi,
37-
xi_dot_xj,
38-
xi_sub_xj,
39-
xj_sub_xi,
40-
e_mul_xj,
41-
w_mul_xj,
42-
43-
# layers/basic
44-
GNNLayer,
45-
GNNChain,
46-
WithGraph,
47-
DotDecoder,
48-
49-
# layers/conv
50-
AGNNConv,
51-
CGConv,
52-
ChebConv,
53-
EdgeConv,
54-
EGNNConv,
55-
GATConv,
56-
GATv2Conv,
57-
GatedGraphConv,
58-
GCNConv,
59-
GINConv,
60-
GMMConv,
61-
GraphConv,
62-
MEGNetConv,
63-
NNConv,
64-
ResGatedGraphConv,
65-
SAGEConv,
66-
SGConv,
67-
TAGConv,
68-
TransformerConv,
69-
DConv,
70-
71-
# layers/heteroconv
72-
HeteroGraphConv,
73-
74-
# layers/temporalconv
75-
TGCN,
76-
A3TGCN,
77-
GConvLSTM,
78-
GConvGRU,
79-
DCGRU,
80-
81-
# layers/pool
82-
GlobalPool,
83-
GlobalAttentionPool,
84-
Set2Set,
85-
TopKPool,
86-
topk_index,
87-
88-
# mldatasets
89-
mldataset2gnngraph
19+
@reexport using GNNGraphs
20+
@reexport using GNNlib
9021

91-
include("utils.jl")
9222
include("layers/basic.jl")
23+
export GNNLayer,
24+
GNNChain,
25+
WithGraph,
26+
DotDecoder
27+
9328
include("layers/conv.jl")
29+
export AGNNConv,
30+
CGConv,
31+
ChebConv,
32+
DConv,
33+
EdgeConv,
34+
EGNNConv,
35+
GATConv,
36+
GATv2Conv,
37+
GatedGraphConv,
38+
GCNConv,
39+
GINConv,
40+
GMMConv,
41+
GraphConv,
42+
MEGNetConv,
43+
NNConv,
44+
ResGatedGraphConv,
45+
SAGEConv,
46+
SGConv,
47+
TAGConv,
48+
TransformerConv
49+
9450
include("layers/heteroconv.jl")
51+
export HeteroGraphConv
52+
9553
include("layers/temporalconv.jl")
54+
export TGCN,
55+
A3TGCN,
56+
GConvLSTM,
57+
GConvGRU,
58+
DCGRU
59+
9660
include("layers/pool.jl")
97-
include("msgpass.jl")
61+
export GlobalPool,
62+
GlobalAttentionPool,
63+
Set2Set,
64+
TopKPool,
65+
topk_index
66+
9867
include("deprecations.jl")
9968

10069
end

0 commit comments

Comments
 (0)