-
Several aggregation operators have this |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Since Here, |
Beta Was this translation helpful? Give feedback.
-
@rusty1s In your example, there is a graph with 2 nodes, a graph with 3 nodes, and a graph with 1 node. All these graphs have a different number of nodes. My concern is that the AttentionalAggregation will exclude some of the nodes if the number of nodes surpasses this |
Beta Was this translation helpful? Give feedback.
If you do not specify
max_num_elements
it will be inferred viabincount().max()
, and it will not drop any nodes. It will only drop nodes if you explicitly specifymax_num_elements
to be smaller than the maximum nodes in one of your graphs.In general, you don't need to worry about setting this argument at all. The reason we introduced this argument in the first-place is due to compilation and to avoid a device sync between CPU and GPU.