Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否具有torch_geometric.nn中MessagePassing的功能 #447

Open
limin2021 opened this issue Aug 3, 2022 · 1 comment
Open

是否具有torch_geometric.nn中MessagePassing的功能 #447

limin2021 opened this issue Aug 3, 2022 · 1 comment

Comments

@limin2021
Copy link

基于torch框架,可以使用torch_geometric.nn中MessagePassing,通过自己定义propagate,aggregate和update函数实现图神经网络的计算(例子:链接中的line 201-345)。使用paddle框架,基于PGL是否可以实现类似例子的功能?

@Yelrose
Copy link
Collaborator

Yelrose commented Aug 3, 2022

有的,我们就是通过send(对应propagte)、recv(对应aggregate)来定义图神经网路的,在nn.conv里面也有很多对应的例子

https://github.com/PaddlePaddle/PGL/blob/main/pgl/nn/conv.py#L298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants