Skip to content

Commit 23bedb2

Browse files
Update src/layers/conv.jl
Co-authored-by: Carlo Lucibello <[email protected]>
1 parent efc1d84 commit 23bedb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/conv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ function (l::GMMConv)(g::GNNGraph, x::AbstractMatrix, e::AbstractMatrix)
11531153
w = w .* reshape(l.sigma_inv, (ein, l.K, 1))
11541154
w = exp.(sum(w, dims = 1 )) # (1, K, num_edge)
11551155

1156-
xj = reshape(l.dense_x(x), (out,l.K,:)) # (out, K, num_nodes)
1156+
xj = reshape(l.dense_x(x), (out, l.K, :)) # (out, K, num_nodes)
11571157
m = propagate(e_mul_xj, g, +, xj=xj, e=w)
11581158
m = dropdims(mean(m, dims=2), dims=2) # (out, num_nodes)
11591159
m = 1 / d .* m

0 commit comments

Comments
 (0)