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
using GraphNeuralNetworks
using CUDA
using Flux: gpu
g =rand_graph(10, 30) |> gpu
g =add_edges(g,[10],[10])
x = CUDA.rand(3, 9) #9<10!apply_edges((xi, xj, e) -> xi .+ xj, g, xi=x, xj=x)
This won't throw an error. Maybe we can add
@assert size(xi)[end]==size(xj)[end]==g.num_nodes
inside apply_edges
The text was updated successfully, but these errors were encountered:
Related to FluxML/NNlib.jl#411
This won't throw an error. Maybe we can add
inside
apply_edges
The text was updated successfully, but these errors were encountered: