Poolers Cheatsheet¶
This cheatsheet provides a quick reference for the pooling operators available in tgp.
It shows each pooler’s alias (for
tgp.poolers.get_pooler()), whether it supports sparse operations, has trainable parameters, and provides auxiliary losses.
sparse: If checked (✓), the pooler operates on sparse adjacency matrices and returns sparse connectivity and \(\mathbf{S}\) matrices, e.g., suitable for sparse GNN layers like GCNConv.
trainable: If checked (✓), the pooler contains trainable parameters that are updated during training.
aux_loss: If checked (✓), the pooler computes auxiliary loss terms that can be used for regularization during training.
Graph Pooling Operators¶
Alias |
Class |
sparse |
trainable |
aux_loss |
|---|---|---|---|---|
|
|
✓ |
✓ |
|
|
✓ |
✓ |
||
|
✓ |
✓ |
||
|
|
✓ |
✓ |
|
|
✓ |
✓ |
||
|
|
✓ |
✓ |
|
|
||||
|
✓ |
|||
|
|
✓ |
✓ |
|
|
✓ |
✓ |
||
|
|
✓ |
||
|
||||
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
||
|
|
✓ |
||
|
|
|||
|
✓ |
|||
|
|
✓ |
✓ |
|
|
|
✓ |
✓ |
|
|
|
✓ |
||
|
|
✓ |
✓ |