-
I tried to look for an answer here and also in the documentation, sorry if I missed it. At the moment I'm doing:
Is there a more elegant way to get the batch assignment vector for each graph in the batch? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There exists a res = softmax(pred['some_node'], batch['some_node'].batch) |
Beta Was this translation helpful? Give feedback.
There exists a
batch
attribute for each node type: