Debian Codegraph @

ot/gnn/__init__.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
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 # Author: Sonia Mazelet <[email protected]>
13 # Rémi Flamary <[email protected]>
14 #
15 # License: MIT License
16
17 # All submodules and packages
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 ]