Replies: 2 comments
-
Hi, I am not an expert but I will try to answer your question. So the final embeddings are dependent on the initial node embeddings. You can always access your initial node_embeddings in your data object:
I hope it helps. Best, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply but my question was specifically about how partial updates from each edge type in HeteroConv gets combined and whether the previous node embedding is explicitly added during that aggregation step. My understanding now is that the aggregator inside HeteroConv combines the partial updates that come out of each GraphConv. The original node embedding is not explicitly added again in the final aggregation. Instead, GraphConv already includes the node's own features by default. So by the time those partial updates reach the aggregator, the node's original embedding is already baked into them. |
Beta Was this translation helpful? Give feedback.
-
I’m using the following graph, modeled using HeteroData:
The output is
My questions is what happens to the initial embedding of the target node (e.g., Image) during the node update process in HeteroConv? Is the initial embedding discarded entirely? Or is it somehow included in the output (e.g., implicitly added to the aggregated result)?
Beta Was this translation helpful? Give feedback.
All reactions