A global sum pooling layer. Pools a graph by computing the sum of its node features.
Mode: single, disjoint, mixed, batch.
Input
Node features of shape ([batch], N, F)
;
Graph IDs of shape (N, )
(only in disjoint mode);
Output
Pooled node features of shape (batch, F)
(if single mode, shape will
be (1, F)
).
Arguments
None.
1 | layer_global_sum_pool(object, ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.