| 1 |
|
| 2 |
""" |
| 3 |
Layers and functions for optimal transport in Graph Neural Networks. |
| 4 |
|
| 5 |
.. warning:: |
| 6 |
Note that by default the module is not imported in :mod:`ot`. In order to |
| 7 |
use it you need to explicitly import :mod:`ot.gnn`. This module is PyTorch Geometric dependent. |
| 8 |
The layers are compatible with their API. |
| 9 |
|
| 10 |
""" |
| 11 |
|
| 12 |
|
| 13 |
> |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
from ._utils import FGW_distance_to_templates, wasserstein_distance_to_templates |
| 20 |
|
| 21 |
from ._layers import TFGWPooling, TWPooling |
| 22 |
|
| 23 |
__all__ = [ |
| 24 |
"FGW_distance_to_templates", |
| 25 |
"wasserstein_distance_to_templates", |
| 26 |
"TFGWPooling", |
| 27 |
"TWPooling", |
| 28 |
] |