Replies: 1 comment
-
Besides pooling of node features The |
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.
-
For the torch_geometric.nn.avg_pool_x(cluster, x, batch, size=None) function, I understand that the function will return a tensor of shape (cluster_count, x_hidden_dim), as the function averages the rows in x which are from the same clusters.
However, what does the "batch" argument do? It does no seem to contribute to the function, but is a mandatory argument. Additionally, an explanation of the "size" argument would also be appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions