Hi Everyone,
I am new to the DGL lib and trying to follow some examples on the website. I am on the nn-foward module 3.2 DGL NN Module Forward Function — DGL 0.7.2 documentation One part of the example in the Message passing and reducing section got confused.
For the aggregation type != ‘gcn’, it has a variable named h_self, which supposed to be the hidden state of the node itself. The code above actually doesn’t define this variable, so I wonder what it’s value should really be.
Another question is, let’s take the example of the self._aggre_type == ‘mean’ in that snippet. If I want to do an edge weight weighted mean, what’s the most efficient way of writing it.
Thanks,
Michael