AttributeError: 'DGLGraph' object has no attribute 'send'
出现该问题的原因是 dgl版本问题,如果以及下载dgl,此时不要急,只需将代码中
g.send(g.edges(), gcn_message) g.recv(g.nodes(), gcn_reduce)
这两行代码替换为
g.send_and_recv(g.edges(), gcn_message, gcn_reduce)
此行代码,便可以解决!
AttributeError: 'DGLGraph' object has no attribute 'send'
出现该问题的原因是 dgl版本问题,如果以及下载dgl,此时不要急,只需将代码中
g.send(g.edges(), gcn_message) g.recv(g.nodes(), gcn_reduce)
这两行代码替换为
g.send_and_recv(g.edges(), gcn_message, gcn_reduce)
此行代码,便可以解决!