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

Question about EOPA #1

Closed
Insane235 opened this issue Jul 13, 2020 · 1 comment
Closed

Question about EOPA #1

Insane235 opened this issue Jul 13, 2020 · 1 comment

Comments

@Insane235
Copy link

Hi, may I ask how does line 19 of lessr.py guarantee the order of m, which is the neighbors' message and in random order?

_, hn = self.gru(m)
@twchen
Copy link
Owner

twchen commented Jul 13, 2020

Hi, may I ask how does line 19 of lessr.py guarantee the order of m, which is the neighbors' message and in random order?

_, hn = self.gru(m)

DGL will pass the messages in the order of the edges. Since the edges are added in the order of their corresponding transitions (see the code), the messages will also be in the order of transitions.

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

No branches or pull requests

2 participants