Replies: 1 comment
-
Just to make sure I understand, it'd be nice if you could provide a complete script with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I registered the following Linear module in GraphGym:
layer_config.dim_in
is 200 andlayer_config.dim_out
is 256. However, when I step through the code to checkbatch.x_dict["node"].shape
after the linebatch.x_dict["node"] = self.model(batch.x_dict["node"])
, I see that the dimensionality of the data is still 200, not 256. Interestingly, when I checkself.model(batch.x_dict["node"])
, it is 256 dimensional. But the linebatch.x_dict["node"] = self.model(batch.x_dict["node"])
does not changebatch.x_dict["node"]
PS:
batch["node"].x = self.model(batch.x_dict["node"])
works on the other hand.PPS: I'm using HeteroData because I have multiple edge types (but only one node type, which is why I can do
batch.x_dict["node"] = self.model(batch.x_dict["node"])
)Beta Was this translation helpful? Give feedback.
All reactions