When to write operations in 'Forward' and when to write in 'Message'? #3706
-
Hey guys. Maybe this is a trivial question.. I'm wondering when should I implement my formulations in the ' For example, some tutorials implement the Could some one help explain this a bit, like what's the difference of implementation at the two places. Appreciate for any advice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There doesn't exist a rule of thumb for this and its mostly user-preference. In general, it is preferred to compute all edge-level representations directly inside |
Beta Was this translation helpful? Give feedback.
There doesn't exist a rule of thumb for this and its mostly user-preference. In general, it is preferred to compute all edge-level representations directly inside
message
since you do not need to take care of gathering features, etc. However, I agree that we are breaking with this pattern by ourselves as well, e.g., ingcn_norm
:)