CarloLucibello / GraphNeuralNetworks.jl

Graph Neural Networks in Julia
https://carlolucibello.github.io/GraphNeuralNetworks.jl/dev/
MIT License
210 stars 47 forks source link

Error in one of the examples in the Working with GNNGraph page #401

Closed achiverram28 closed 4 months ago

achiverram28 commented 4 months ago
B2FF88BC-0ADD-4FEB-AA50-CDE2F498BA13

The number of edges in gall wont be 9600 as its a rand_graph initiation with 30 edges , it will be 160 x 30 = 4800, it wont be 4800 x 2

1B81CC51-D4CC-4032-ADD7-FACAB260752A

When I make data = [rand_graph(10, 60, ndata=rand(Float32, 3, 10)) for _ in 1:160] , then the number of edges will be 160 x 60 = 9600

B4735B74-6D5F-4296-A450-48101A091D2B
achiverram28 commented 4 months ago

Can I make the changes in the doc of it

CarloLucibello commented 4 months ago

yes please, the assert should be changed

CarloLucibello commented 4 months ago

closed in #403