Hi,
I am new to this library and am trying to understand the implementation of the RGCN model.
The formula for an RGCN layer is:
h_i^{l+1} = \sigma\left(W_0^{(l)}h_i^{(l)}+\sum_{r\in R}\sum_{j\in N_i^r}\frac{1}{c_{i,r}}W_r^{(l)}h_j^{(l)}\right)
Hence, W_r for a given layer should have the same value for all nodes for a given rel_type
r. However, from what I understand of the implementation in the tutorial, weight
for the first layer is of the shape (num_rels, num_nodes, out) which means that each node i gets its own value W_{r_i}. Why was it implemented this way ?
Thanks in advance for any clarification