-
I was looking through the implementation examples of Heterogeneous graph learning here, and I implemented the model successfully for my problem. However, I am unable to explain to myself how the dimensionality works. So for example, the network below
in the forward function, in the line
I am not sure how the I am not sure if I am clear in explaining my question. Hope to get some feedback soon. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In the example you shared, the input dimension of |
Beta Was this translation helpful? Give feedback.
In the example you shared, the input dimension of
self.lin1
andself.lin2
are initialized byto_hetero
, to thein_channels
of the nodes. So the features don't need to be flattened while passing toself.lin1
orself.lin2
.