Skip to content

Commit b36d229

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layers/conv.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,8 +1101,8 @@ s = [1,1,2,3]
11011101
t = [2,3,1,1]
11021102
g = GNNGraph(s,t)
11031103
nin, ein, out, K = 4, 10, 7, 8
1104-
x = randn(nin, g.num_nodes)
1105-
e = randn(ein, g.num_edges)
1104+
x = randn(Float32, nin, g.num_nodes)
1105+
e = randn(Float32, ein, g.num_edges)
11061106
11071107
# create layer
11081108
l = GMMConv((nin, ein) => out, K=K)

0 commit comments

Comments
 (0)